{"id":14720,"date":"2024-03-29T05:45:13","date_gmt":"2024-03-29T05:45:13","guid":{"rendered":"https:\/\/www.oflox.com\/blog\/?p=14720"},"modified":"2024-09-25T11:18:54","modified_gmt":"2024-09-25T11:18:54","slug":"what-is-div-in-html","status":"publish","type":"post","link":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/","title":{"rendered":"What is Div in HTML: A-to-Z Guide for Beginners!"},"content":{"rendered":"\n<p>\u200dIn this article, I am going to provide you with <strong>What is Div in HTML?<\/strong> so if you want to know about it, then keep reading this article. Because I am going to give you complete information about it, so let\u2019s start.<\/p>\n\n\n\n<p>As you know, HTML (<strong>HyperText Markup Language<\/strong>) is a language for structuring and formatting content on the web. It is the standard markup language for creating web pages and web applications. HTML consists of a series of elements, which you can use to enclose, format, and link different parts of your content.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg\" alt=\"What is Div in HTML\" class=\"wp-image-14726\" srcset=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg 1280w, https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML-768x432.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Today\u2019s article focuses on the same,i.e, \u201cWhat is Div in HTML\u201d The articles entail each bit of information necessary for you to know.<\/p>\n\n\n\n<p>Let\u2019s get started!<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f1f4d325186\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f1f4d325186\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#What_is_HTML\" >What is HTML?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#Who_Invented_HTML\" >Who Invented HTML?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#How_do_I_create_an_HTML_document\" >How do I create an HTML document?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#What_are_some_common_HTML_tags\" >What are some common HTML tags?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#What_is_Div_in_HTML\" >What is Div in HTML?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#Why_Div_Tag_is_Used_in_HTML\" >Why Div Tag is Used in HTML?<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_HTML\"><\/span>What is HTML?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>HTML stands for HyperText Markup Language. It is a language used to create and structure content on the web. HTML uses tags to describe the content and create the structure of a web page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Who_Invented_HTML\"><\/span>Who Invented HTML?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>HTML (HyperText Markup Language) was invented by Tim Berners-Lee in the late 1980s. He wrote the first version of HTML in 1989 while working at CERN (the European Organization for Nuclear Research) in Switzerland. <\/p>\n\n\n\n<p>Berners-Lee is a British computer scientist and is credited with inventing the World Wide Web. He saw the need for a system that would allow scientists to share information and collaborate online, and he developed the technologies (including HTML) that make the World Wide Web possible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_do_I_create_an_HTML_document\"><\/span>How do I create an HTML document?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You can create an HTML document using a text editor, such as Notepad or TextEdit. To create an HTML document, you will need to type out the HTML code using the correct syntax. Save the file with a &#8220;.html&#8221; extension. For an example if you want to add link in <a href=\"https:\/\/sparklelaser.com\/laser-marking-machines\/\" target=\"_blank\" rel=\"noreferrer noopener\">Laser Marking Machines<\/a> than your script will be <strong>&lt;a style=&#8221;&#8221;color: #3598DB !important;&#8221;&#8221; href=&#8221;&#8221;link&#8221;&#8221; data-abc=&#8221;&#8221;true&#8221;&#8221;>Laser Marking Machine &lt;\/a><\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_are_some_common_HTML_tags\"><\/span>What are some common HTML tags?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Some common HTML tags include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code><strong>&lt;html&gt;<\/strong><\/code>: This is the root element of an HTML document.<\/li>\n\n\n\n<li><code><strong>&lt;head&gt;<\/strong><\/code>: This element contains information about the document, such as the title and links to other resources.<\/li>\n\n\n\n<li><code><strong>&lt;body&gt;<\/strong><\/code>: This element contains the main content of the document.<\/li>\n\n\n\n<li><strong><code>&lt;h1&gt;<\/code> <\/strong>&#8211; <code>&lt;h6&gt;<\/code>: These are heading tags, used to create headings of different sizes.<\/li>\n\n\n\n<li><code><strong>&lt;p&gt;<\/strong><\/code>: This is the paragraph tag, used to create a new paragraph.<\/li>\n\n\n\n<li><code><strong>&lt;a&gt;<\/strong><\/code>: This is the anchor tag, used to create a hyperlink to another web page.<\/li>\n\n\n\n<li><code><strong>&lt;img&gt;<\/strong><\/code>: This is the image tag, used to insert an image into the document.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Div_in_HTML\"><\/span>What is Div in HTML?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In HTML, a <code>'<strong>div<\/strong><\/code>&#8216; element (short for division) is a container element used to group other HTML elements together and apply styles to them. The &#8216;<code><strong>div<\/strong><\/code>&#8216; element has no inherent meaning and is used as a hook for CSS styles or JavaScript.<\/p>\n\n\n\n<p>Here is an example of how to use the &#8216;<code><strong>div<\/strong><\/code>&#8216; element in HTML:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div&gt;\n  &lt;p&gt;This is a paragraph inside a div element.&lt;\/p&gt;\n  &lt;p&gt;This is another paragraph inside the div element.&lt;\/p&gt;\n&lt;\/div&gt;\n<\/pre>\n\n\n\n<p>You can apply styles to the &#8216;<code><strong>div<\/strong><\/code>&#8216; element using CSS, like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">div {\n  background-color: lightblue;\n  border: 1px solid blue;\n  padding: 10px;\n}\n<\/pre>\n\n\n\n<p>This will give the <code>div<\/code> element a light blue background, a blue border, and some padding around the content inside the <code>div<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"124\" src=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/div.png\" alt=\"div\" class=\"wp-image-14721\" style=\"width:612px;height:117px\"\/><figcaption class=\"wp-element-caption\">the output of this code<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Div_Tag_is_Used_in_HTML\"><\/span>Why Div Tag is Used in HTML?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The &#8216;<code><strong>div<\/strong><\/code>&#8216; tag is a generic container element in HTML. It is used as a container for other HTML elements and can be used to apply styles to those elements. The &#8216;<code><strong>div<\/strong><\/code>&#8216; element is often used as a container for other HTML elements to apply styles too, such as setting the text alignment or font size for all the elements within the &#8216;<code><strong>div<\/strong><\/code>&#8216; element. The &#8216;<code><strong>div<\/strong><\/code>&#8216; element has no special meaning in and of itself, and you can use it to group elements together and apply styles to them as a unit&#8230;<\/p>\n\n\n\n<p><strong>Read also:)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.oflox.com\/blog\/how-to-create-form-in-html\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Create Form in HTML: A-to-Z Guide for Beginners!<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.oflox.com\/blog\/html-and-css-code-for-website\/\" target=\"_blank\" rel=\"noreferrer noopener\">HTML and CSS code for Website: A-to-Z Guide for Beginners!<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.oflox.com\/blog\/how-to-create-a-hyperlink-in-html\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Create a Hyperlink in HTML: A-to-Z Guide for Beginners!<\/a><\/li>\n<\/ul>\n\n\n\n<p><em>So hope you liked this article on <strong>What is Div in HTML?<\/strong> And if you still have any questions or suggestions related to this, then you can tell us in the comment box below. Thank you so much for reading this article.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u200dIn this article, I am going to provide you with What is Div in HTML? so if you want to &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"What is Div in HTML: A-to-Z Guide for Beginners!\" class=\"read-more button\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#more-14720\" aria-label=\"More on What is Div in HTML: A-to-Z Guide for Beginners!\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":14726,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2345],"tags":[26904,26911,26912,26913,26908,26909,26903,26910,26905,26914,26906,26901,26902,26907,26915],"class_list":["post-14720","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","tag-create-an-html-document","tag-div-class-in-html","tag-div-in-css","tag-div-in-html-table","tag-div-tag-in-html-example","tag-form-using-div-tag-in-html","tag-how-do-i-create-an-html-document","tag-use-of-div-tag-in-html","tag-what-are-some-common-html-tags","tag-what-is-a-div-in-html","tag-what-is-div-in-html","tag-what-is-html","tag-who-invented-html","tag-why-div-tag-is-used-in-html","tag-why-is-it-called-div-html","resize-featured-image"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Div in HTML: A-to-Z Guide for Beginners!<\/title>\n<meta name=\"description\" content=\"\u200dIn this article, I am going to provide you with What is Div in HTML? so if you want to know about it, then keep reading this article.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Div in HTML: A-to-Z Guide for Beginners!\" \/>\n<meta property=\"og:description\" content=\"\u200dIn this article, I am going to provide you with What is Div in HTML? so if you want to know about it, then keep reading this article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/\" \/>\n<meta property=\"og:site_name\" content=\"Oflox\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ofloxindia\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ofloxindia\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-29T05:45:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-25T11:18:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@oflox3\" \/>\n<meta name=\"twitter:site\" content=\"@oflox3\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/\"},\"author\":{\"name\":\"Editorial Team\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/person\\\/967235da2149ca663a607d1c0acd4f81\"},\"headline\":\"What is Div in HTML: A-to-Z Guide for Beginners!\",\"datePublished\":\"2024-03-29T05:45:13+00:00\",\"dateModified\":\"2024-09-25T11:18:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/\"},\"wordCount\":691,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/What-is-Div-in-HTML.jpg\",\"keywords\":[\"create an HTML document\",\"div class in html\",\"div in css\",\"div in html table\",\"div tag in html example\",\"form using div tag in html\",\"How do I create an HTML document\",\"use of div tag in html\",\"What are some common HTML tags\",\"What is a div in HTML\",\"What is Div in HTML\",\"What is HTML\",\"Who Invented HTML\",\"Why Div Tag is Used in HTML\",\"Why is it called DIV HTML\"],\"articleSection\":[\"Internet\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/\",\"name\":\"What is Div in HTML: A-to-Z Guide for Beginners!\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/What-is-Div-in-HTML.jpg\",\"datePublished\":\"2024-03-29T05:45:13+00:00\",\"dateModified\":\"2024-09-25T11:18:54+00:00\",\"description\":\"\u200dIn this article, I am going to provide you with What is Div in HTML? so if you want to know about it, then keep reading this article.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/What-is-Div-in-HTML.jpg\",\"contentUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/What-is-Div-in-HTML.jpg\",\"width\":1280,\"height\":720,\"caption\":\"What is Div in HTML\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/what-is-div-in-html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is Div in HTML: A-to-Z Guide for Beginners!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\",\"name\":\"Oflox\",\"description\":\"India&rsquo;s #1 Trusted Digital Marketing Company\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#organization\",\"name\":\"Oflox\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg\",\"contentUrl\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg\",\"width\":355,\"height\":355,\"caption\":\"Oflox\"},\"image\":{\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ofloxindia\",\"https:\\\/\\\/x.com\\\/oflox3\",\"https:\\\/\\\/www.instagram.com\\\/ofloxindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.oflox.com\\\/blog\\\/#\\\/schema\\\/person\\\/967235da2149ca663a607d1c0acd4f81\",\"name\":\"Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g\",\"caption\":\"Editorial Team\"},\"sameAs\":[\"https:\\\/\\\/www.oflox.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/ofloxindia\\\/\",\"https:\\\/\\\/www.instagram.com\\\/ofloxindia\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ofloxindia\\\/\",\"https:\\\/\\\/x.com\\\/oflox3\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Div in HTML: A-to-Z Guide for Beginners!","description":"\u200dIn this article, I am going to provide you with What is Div in HTML? so if you want to know about it, then keep reading this article.","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:\/\/www.oflox.com\/blog\/what-is-div-in-html\/","og_locale":"en_US","og_type":"article","og_title":"What is Div in HTML: A-to-Z Guide for Beginners!","og_description":"\u200dIn this article, I am going to provide you with What is Div in HTML? so if you want to know about it, then keep reading this article.","og_url":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/","og_site_name":"Oflox","article_publisher":"https:\/\/www.facebook.com\/ofloxindia","article_author":"https:\/\/www.facebook.com\/ofloxindia\/","article_published_time":"2024-03-29T05:45:13+00:00","article_modified_time":"2024-09-25T11:18:54+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg","type":"image\/jpeg"}],"author":"Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@oflox3","twitter_site":"@oflox3","twitter_misc":{"Written by":"Editorial Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#article","isPartOf":{"@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/"},"author":{"name":"Editorial Team","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/person\/967235da2149ca663a607d1c0acd4f81"},"headline":"What is Div in HTML: A-to-Z Guide for Beginners!","datePublished":"2024-03-29T05:45:13+00:00","dateModified":"2024-09-25T11:18:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/"},"wordCount":691,"commentCount":0,"publisher":{"@id":"https:\/\/www.oflox.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg","keywords":["create an HTML document","div class in html","div in css","div in html table","div tag in html example","form using div tag in html","How do I create an HTML document","use of div tag in html","What are some common HTML tags","What is a div in HTML","What is Div in HTML","What is HTML","Who Invented HTML","Why Div Tag is Used in HTML","Why is it called DIV HTML"],"articleSection":["Internet"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/","url":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/","name":"What is Div in HTML: A-to-Z Guide for Beginners!","isPartOf":{"@id":"https:\/\/www.oflox.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#primaryimage"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg","datePublished":"2024-03-29T05:45:13+00:00","dateModified":"2024-09-25T11:18:54+00:00","description":"\u200dIn this article, I am going to provide you with What is Div in HTML? so if you want to know about it, then keep reading this article.","breadcrumb":{"@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#primaryimage","url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg","contentUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2023\/01\/What-is-Div-in-HTML.jpg","width":1280,"height":720,"caption":"What is Div in HTML"},{"@type":"BreadcrumbList","@id":"https:\/\/www.oflox.com\/blog\/what-is-div-in-html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.oflox.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What is Div in HTML: A-to-Z Guide for Beginners!"}]},{"@type":"WebSite","@id":"https:\/\/www.oflox.com\/blog\/#website","url":"https:\/\/www.oflox.com\/blog\/","name":"Oflox","description":"India&rsquo;s #1 Trusted Digital Marketing Company","publisher":{"@id":"https:\/\/www.oflox.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oflox.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/www.oflox.com\/blog\/#organization","name":"Oflox","url":"https:\/\/www.oflox.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2020\/05\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg","contentUrl":"https:\/\/www.oflox.com\/blog\/wp-content\/uploads\/2020\/05\/Ab2vH5fv3tj5gKpW_G3bKT_Ozlxpt4IkokKOWQoC7X_fvRHLGT_gR-qhQzXVxHhnl9u3yGY1rfxR7jvSz6DA6gw355-h355.jpg","width":355,"height":355,"caption":"Oflox"},"image":{"@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ofloxindia","https:\/\/x.com\/oflox3","https:\/\/www.instagram.com\/ofloxindia"]},{"@type":"Person","@id":"https:\/\/www.oflox.com\/blog\/#\/schema\/person\/967235da2149ca663a607d1c0acd4f81","name":"Editorial Team","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff86524713a69d2c211ad6cbec38fb15eb59030ba5e59ddad406dfb7eb4e5b0c?s=96&d=mm&r=g","caption":"Editorial Team"},"sameAs":["https:\/\/www.oflox.com\/","https:\/\/www.facebook.com\/ofloxindia\/","https:\/\/www.instagram.com\/ofloxindia\/","https:\/\/www.linkedin.com\/company\/ofloxindia\/","https:\/\/x.com\/oflox3"]}]}},"_links":{"self":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts\/14720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/comments?post=14720"}],"version-history":[{"count":0,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/posts\/14720\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/media\/14726"}],"wp:attachment":[{"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/media?parent=14720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/categories?post=14720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oflox.com\/blog\/wp-json\/wp\/v2\/tags?post=14720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}