{"id":9020,"date":"2024-01-19T17:58:00","date_gmt":"2024-01-19T17:58:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9020"},"modified":"2024-01-22T15:58:59","modified_gmt":"2024-01-22T10:58:59","slug":"html-code-for-comment-box-with-reply","status":"publish","type":"post","link":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/","title":{"rendered":"HTML Code for Comment Box with Reply"},"content":{"rendered":"<p>This HTML code provides a comment box with a reply feature for user interaction on a webpage. It allows users to engage in discussions and reply to comments conveniently. The JavaScript code enables toggling the reply form&#8217;s visibility for a user-friendly experience.<\/p>\n<p>You can use this code on your blog or website to facilitate interactive discussions, encouraging user engagement and <a href=\"https:\/\/codehim.com\/html5-css3\/feedback-form-with-star-rating-in-html\/\" target=\"_blank\" rel=\"noopener\">feedback<\/a>.<\/p>\n<h2>How to Create HTML Code For Comment Box With Reply<\/h2>\n<p>1. First, let&#8217;s set up the HTML structure for our comment box. Copy the following code into your HTML file:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"comment-thread\"&gt;\r\n    &lt;!-- Comment 1 start --&gt;\r\n    &lt;details open class=\"comment\" id=\"comment-1\"&gt;\r\n        &lt;a href=\"#comment-1\" class=\"comment-border-link\"&gt;\r\n            &lt;span class=\"sr-only\"&gt;Jump to comment-1&lt;\/span&gt;\r\n        &lt;\/a&gt;\r\n        &lt;summary&gt;\r\n            &lt;div class=\"comment-heading\"&gt;\r\n                &lt;div class=\"comment-voting\"&gt;\r\n                    &lt;button type=\"button\"&gt;\r\n                        &lt;span aria-hidden=\"true\"&gt;&amp;#9650;&lt;\/span&gt;\r\n                        &lt;span class=\"sr-only\"&gt;Vote up&lt;\/span&gt;\r\n                    &lt;\/button&gt;\r\n                    &lt;button type=\"button\"&gt;\r\n                        &lt;span aria-hidden=\"true\"&gt;&amp;#9660;&lt;\/span&gt;\r\n                        &lt;span class=\"sr-only\"&gt;Vote down&lt;\/span&gt;\r\n                    &lt;\/button&gt;\r\n                &lt;\/div&gt;\r\n                &lt;div class=\"comment-info\"&gt;\r\n                    &lt;a href=\"#\" class=\"comment-author\"&gt;someguy14&lt;\/a&gt;\r\n                    &lt;p class=\"m-0\"&gt;\r\n                        22 points &amp;bull; 4 days ago\r\n                    &lt;\/p&gt;\r\n                &lt;\/div&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/summary&gt;\r\n\r\n        &lt;div class=\"comment-body\"&gt;\r\n            &lt;p&gt;\r\n                This is really great! I fully agree with what you wrote, and this is sure to help me out in the future. Thank you for posting this.\r\n            &lt;\/p&gt;\r\n            &lt;button type=\"button\" data-toggle=\"reply-form\" data-target=\"comment-1-reply-form\"&gt;Reply&lt;\/button&gt;\r\n            &lt;button type=\"button\"&gt;Flag&lt;\/button&gt;\r\n\r\n            &lt;!-- Reply form start --&gt;\r\n            &lt;form method=\"POST\" class=\"reply-form d-none\" id=\"comment-1-reply-form\"&gt;\r\n                &lt;textarea placeholder=\"Reply to comment\" rows=\"4\"&gt;&lt;\/textarea&gt;\r\n                &lt;button type=\"submit\"&gt;Submit&lt;\/button&gt;\r\n                &lt;button type=\"button\" data-toggle=\"reply-form\" data-target=\"comment-1-reply-form\"&gt;Cancel&lt;\/button&gt;\r\n            &lt;\/form&gt;\r\n            &lt;!-- Reply form end --&gt;\r\n        &lt;\/div&gt;\r\n\r\n        &lt;div class=\"replies\"&gt;\r\n            &lt;!-- Comment 2 start --&gt;\r\n            &lt;details open class=\"comment\" id=\"comment-2\"&gt;\r\n                &lt;a href=\"#comment-2\" class=\"comment-border-link\"&gt;\r\n                    &lt;span class=\"sr-only\"&gt;Jump to comment-2&lt;\/span&gt;\r\n                &lt;\/a&gt;\r\n                &lt;summary&gt;\r\n                    &lt;div class=\"comment-heading\"&gt;\r\n                        &lt;div class=\"comment-voting\"&gt;\r\n                            &lt;button type=\"button\"&gt;\r\n                                &lt;span aria-hidden=\"true\"&gt;&amp;#9650;&lt;\/span&gt;\r\n                                &lt;span class=\"sr-only\"&gt;Vote up&lt;\/span&gt;\r\n                            &lt;\/button&gt;\r\n                            &lt;button type=\"button\"&gt;\r\n                                &lt;span aria-hidden=\"true\"&gt;&amp;#9660;&lt;\/span&gt;\r\n                                &lt;span class=\"sr-only\"&gt;Vote down&lt;\/span&gt;\r\n                            &lt;\/button&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;div class=\"comment-info\"&gt;\r\n                            &lt;a href=\"#\" class=\"comment-author\"&gt;randomperson81&lt;\/a&gt;\r\n                            &lt;p class=\"m-0\"&gt;\r\n                                4 points &amp;bull; 3 days ago\r\n                            &lt;\/p&gt;\r\n                        &lt;\/div&gt;\r\n                    &lt;\/div&gt;\r\n                &lt;\/summary&gt;\r\n\r\n                &lt;div class=\"comment-body\"&gt;\r\n                    &lt;p&gt;\r\n                        Took the words right out of my mouth!\r\n                    &lt;\/p&gt;\r\n                    &lt;button type=\"button\" data-toggle=\"reply-form\" data-target=\"comment-2-reply-form\"&gt;Reply&lt;\/button&gt;\r\n                    &lt;button type=\"button\"&gt;Flag&lt;\/button&gt;\r\n\r\n                    &lt;!-- Reply form start --&gt;\r\n                    &lt;form method=\"POST\" class=\"reply-form d-none\" id=\"comment-2-reply-form\"&gt;\r\n                        &lt;textarea placeholder=\"Reply to comment\" rows=\"4\"&gt;&lt;\/textarea&gt;\r\n                        &lt;button type=\"submit\"&gt;Submit&lt;\/button&gt;\r\n                        &lt;button type=\"button\" data-toggle=\"reply-form\" data-target=\"comment-2-reply-form\"&gt;Cancel&lt;\/button&gt;\r\n                    &lt;\/form&gt;\r\n                    &lt;!-- Reply form end --&gt;\r\n                &lt;\/div&gt;\r\n            &lt;\/details&gt;\r\n            &lt;!-- Comment 2 end --&gt;\r\n\r\n            &lt;a href=\"#load-more\"&gt;Load more replies&lt;\/a&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/details&gt;\r\n    &lt;!-- Comment 1 end --&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>Inside the <code>.comment-thread<\/code> div, you can add comment sections. Each comment section will be enclosed within a <code>&lt;details&gt;<\/code> element. You can customize these comments by adding text, usernames, and other details as needed.<\/p>\n<p>2. Now, let&#8217;s style our comments. Add the following CSS code to your stylesheet (or in a <code>&lt;style&gt;<\/code> tag within your HTML document). This CSS will style the comment sections, voting buttons, and other elements. Customize it to match your website&#8217;s design.<\/p>\n<pre class=\"prettyprint linenums lang-css\">\/* \r\n    Body, button, comment-thread, and utilities\r\n\r\n    Notes:\r\n        - This section sets some basic styles. You can ignore this part and \r\n        go directly to the comment styles.\r\n*\/\r\n\r\n* {\r\n    box-sizing: border-box;\r\n}\r\nbody {\r\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\r\n    line-height: 1.4;\r\n    color: rgba(0, 0, 0, 0.85);\r\n    background-color: #f9f9f9;\r\n\r\n}\r\nbutton {\r\n    -moz-appearance: none;\r\n    -webkit-appearance: none;\r\n    appearance: none;\r\n    font-size: 14px;\r\n    padding: 4px 8px;\r\n    color: rgba(0, 0, 0, 0.85);\r\n    background-color: #fff;\r\n    border: 1px solid rgba(0, 0, 0, 0.2);\r\n    border-radius: 4px;\r\n}\r\nbutton:hover,\r\nbutton:focus,\r\nbutton:active {\r\n    cursor: pointer;\r\n    background-color: #ecf0f1;\r\n}\r\n.comment-thread {\r\n    width: 700px;\r\n    max-width: 100%;\r\n    margin: auto;\r\n    padding: 0 30px;\r\n    background-color: #fff;\r\n    border: 1px solid transparent; \/* Removes margin collapse *\/\r\n}\r\n.m-0 {\r\n    margin: 0;\r\n}\r\n.sr-only {\r\n    position: absolute;\r\n    left: -10000px;\r\n    top: auto;\r\n    width: 1px;\r\n    height: 1px;\r\n    overflow: hidden;\r\n}\r\n\r\n\/* Comment *\/\r\n\r\n.comment {\r\n    position: relative;\r\n    margin: 20px auto;\r\n}\r\n.comment-heading {\r\n    display: flex;\r\n    align-items: center;\r\n    height: 50px;\r\n    font-size: 14px;\r\n}\r\n.comment-voting {\r\n    width: 20px;\r\n    height: 32px;\r\n    border: 1px solid rgba(0, 0, 0, 0.2);\r\n    border-radius: 4px;\r\n}\r\n.comment-voting button {\r\n    display: block;\r\n    width: 100%;\r\n    height: 50%;\r\n    padding: 0;\r\n    border: 0;\r\n    font-size: 10px;\r\n}\r\n.comment-info {\r\n    color: rgba(0, 0, 0, 0.5);\r\n    margin-left: 10px;\r\n}\r\n.comment-author {\r\n    color: rgba(0, 0, 0, 0.85);\r\n    font-weight: bold;\r\n    text-decoration: none;\r\n}\r\n.comment-author:hover {\r\n    text-decoration: underline;\r\n}\r\n.replies {\r\n    margin-left: 20px;\r\n}\r\n\r\n\/* Adjustments for the comment border links *\/\r\n\r\n.comment-border-link {\r\n    display: block;\r\n    position: absolute;\r\n    top: 50px;\r\n    left: 0;\r\n    width: 12px;\r\n    height: calc(100% - 50px);\r\n    border-left: 4px solid transparent;\r\n    border-right: 4px solid transparent;\r\n    background-color: rgba(0, 0, 0, 0.1);\r\n    background-clip: padding-box;\r\n}\r\n.comment-border-link:hover {\r\n    background-color: rgba(0, 0, 0, 0.3);\r\n}\r\n.comment-body {\r\n    padding: 0 20px;\r\n    padding-left: 28px;\r\n}\r\n.replies {\r\n    margin-left: 28px;\r\n}\r\n\r\n\/* Adjustments for toggleable comments *\/\r\n\r\ndetails.comment summary {\r\n    position: relative;\r\n    list-style: none;\r\n    cursor: pointer;\r\n}\r\ndetails.comment summary::-webkit-details-marker {\r\n    display: none;\r\n}\r\ndetails.comment:not([open]) .comment-heading {\r\n    border-bottom: 1px solid rgba(0, 0, 0, 0.2);\r\n}\r\n.comment-heading::after {\r\n    display: inline-block;\r\n    position: absolute;\r\n    right: 5px;\r\n    align-self: center;\r\n    font-size: 12px;\r\n    color: rgba(0, 0, 0, 0.55);\r\n}\r\ndetails.comment[open] .comment-heading::after {\r\n    content: \"Click to hide\";\r\n}\r\ndetails.comment:not([open]) .comment-heading::after {\r\n    content: \"Click to show\";\r\n}\r\n\r\n\/* Adjustment for Internet Explorer *\/\r\n\r\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\r\n    \/* Resets cursor, and removes prompt text on Internet Explorer *\/\r\n    .comment-heading {\r\n        cursor: default;\r\n    }\r\n    details.comment[open] .comment-heading::after,\r\n    details.comment:not([open]) .comment-heading::after {\r\n        content: \" \";\r\n    }\r\n}\r\n\r\n\/* Styling the reply to comment form *\/\r\n\r\n.reply-form textarea {\r\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\r\n    font-size: 16px;\r\n    width: 100%;\r\n    max-width: 100%;\r\n    margin-top: 15px;\r\n    margin-bottom: 5px;\r\n}\r\n.d-none {\r\n    display: none;\r\n}<\/pre>\n<p>3. To enable the reply feature, we&#8217;ll use JavaScript. Add the following JavaScript code to your HTML document. It listens for clicks on &#8220;Reply&#8221; buttons and toggles the visibility of the reply form.<\/p>\n<pre class=\"prettyprint linenums lang-js\">document.addEventListener(\r\n    \"click\",\r\n    function(event) {\r\n        var target = event.target;\r\n        var replyForm;\r\n        if (target.matches(\"[data-toggle='reply-form']\")) {\r\n            replyForm = document.getElementById(target.getAttribute(\"data-target\"));\r\n            replyForm.classList.toggle(\"d-none\");\r\n        }\r\n    },\r\n    false\r\n);<\/pre>\n<p>You&#8217;ve successfully created a comment box with a reply feature for your website using HTML, CSS, and JavaScript. Attach this comment form to your backend functionality. Users can now engage in discussions and reply to comments effortlessly.<\/p>\n<p>If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This HTML code provides a comment box with a reply feature for user interaction on a webpage. It allows users&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9035,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[232],"tags":[],"class_list":["post-9020","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-forms"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HTML Code for Comment Box with Reply &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a HTML Code for Comment Box with Reply. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML Code for Comment Box with Reply &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a HTML Code for Comment Box with Reply. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-19T17:58:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:58:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"HTML Code for Comment Box with Reply\",\"datePublished\":\"2024-01-19T17:58:00+00:00\",\"dateModified\":\"2024-01-22T10:58:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/\"},\"wordCount\":255,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png\",\"articleSection\":[\"Forms\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/\",\"url\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/\",\"name\":\"HTML Code for Comment Box with Reply &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png\",\"datePublished\":\"2024-01-19T17:58:00+00:00\",\"dateModified\":\"2024-01-22T10:58:59+00:00\",\"description\":\"Here is a free code snippet to create a HTML Code for Comment Box with Reply. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png\",\"width\":1280,\"height\":960,\"caption\":\"HTML Code for Comment Box with Reply\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Forms\",\"item\":\"https:\/\/codehim.com\/category\/forms\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HTML Code for Comment Box with Reply\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTML Code for Comment Box with Reply &#8212; CodeHim","description":"Here is a free code snippet to create a HTML Code for Comment Box with Reply. You can view demo and download the source code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/","og_locale":"en_US","og_type":"article","og_title":"HTML Code for Comment Box with Reply &#8212; CodeHim","og_description":"Here is a free code snippet to create a HTML Code for Comment Box with Reply. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-19T17:58:00+00:00","article_modified_time":"2024-01-22T10:58:59+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"HTML Code for Comment Box with Reply","datePublished":"2024-01-19T17:58:00+00:00","dateModified":"2024-01-22T10:58:59+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/"},"wordCount":255,"commentCount":2,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png","articleSection":["Forms"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/","url":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/","name":"HTML Code for Comment Box with Reply &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png","datePublished":"2024-01-19T17:58:00+00:00","dateModified":"2024-01-22T10:58:59+00:00","description":"Here is a free code snippet to create a HTML Code for Comment Box with Reply. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/HTML-Code-for-Comment-Box-with-Reply.png","width":1280,"height":960,"caption":"HTML Code for Comment Box with Reply"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/forms\/html-code-for-comment-box-with-reply\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Forms","item":"https:\/\/codehim.com\/category\/forms\/"},{"@type":"ListItem","position":3,"name":"HTML Code for Comment Box with Reply"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":6387,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=9020"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9020\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9035"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}