{"id":15799,"date":"2017-01-20T16:52:39","date_gmt":"2017-01-20T14:52:39","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=15799"},"modified":"2017-12-19T13:15:37","modified_gmt":"2017-12-19T11:15:37","slug":"html5-semantic-element-example","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/","title":{"rendered":"Html5 Semantic Element Example"},"content":{"rendered":"<p>A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element or tag you can tell its function. In this example we will learn about HTML5 semantic elements.<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n[ulp id=&#8217;tgm4cmEWcKUikZNn&#8217;]<br \/>\n&nbsp;<br \/>\nFor this example we will use:<\/p>\n<ul>\n<li>A computer with a modern browser installed.<\/li>\n<li>notepad++.<\/li>\n<\/ul>\n<h2>1. Getting Started<\/h2>\n<p>Semantics, to put it simply, is the study of meanings. According to the definition by W3C\u00a0a semantic element clearly describes its meaning to both the browser and the developer.<br \/>\nSemantic tags or elements have been before the advent of HTML5. Elements like table(&lt; table &gt;) image ( &lt; img &gt; ) are semantic elements, by merely looking at the names of the tags you have an idea of their respective functions.<\/p>\n<p>Examples of non semantic elements are div(&lt; div &gt;) and span (&lt; span &gt;). They tell us nothing about their contents. Semantic tags or elements make it easy for developers and computers to easily understand your mark up.<br \/>\nLet&#8217;s look at some HTML5 semantic tags.<\/p>\n<h3>1.1 &lt;header&gt;<\/h3>\n<p>The header tag defines the header for a document or section. It is used to hold introductory content. It is also valid to have several header tags in your HTML document. A header tag usually contains a heading element(&lt; h1&gt; &#8211; &lt;h2&gt;). A &lt;header&gt; tag cannot be placed within a &lt;footer&gt; or another &lt;header&gt; element.<br \/>\nThe syntax for the header tag is below.<\/p>\n<pre class=\"brush:bash\">&lt; header&gt;\r\n&lt;\/header&gt;\r\n<\/pre>\n<p>An example below.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>index.html<\/em><\/span><\/p>\n<pre class=\"brush:html\">&lt;!DOCTYPE html&gt; \r\n&lt;html lang=en&gt;\r\n\t&lt;head&gt;\r\n\t&lt;style&gt;\r\n\thtml, body{\r\n\twidth:100%;\r\n\theight:100%;\r\n\tmargin:0%;\r\n\tfont-family:\"helvetica\",\"verdana\",\"calibri\", \"san serif\";\r\n\toverflow:visible;\r\n\tpadding:0%;\r\n\tborder:0%;\r\n\t}\r\n\t \r\n\t&lt;\/style&gt;\r\n\t \t\t&lt;meta charset=\"utf-8\" \/&gt;\r\n\t\t&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi\"\/&gt;\r\n\t\r\n\t&lt;title&gt; \r\nHtml5 Semantic Elements Example\r\n&lt;\/title&gt;\r\n\r\n\t&lt;\/head&gt;\r\n\t&lt;body&gt;\r\n\u00a0&lt;header&gt;\r\n\u00a0&lt;h1&gt;\r\nOnclick Event Attribute\r\n&lt;\/h1&gt;\r\nThe onclick event occurs when the user clicks on an element. When a user clicks on an element with the mouse or touches an element in a touchscreen environment. We can listen for click events on an element in so many ways.\r\nOne way we can do this is to add an onClick attribute directly to the element\r\n\t&lt;\/body&gt;\r\n\t&lt;\/html&gt;\r\n<\/pre>\n<h3>1.2 &lt;footer&gt;<\/h3>\n<p>A footer element defines a footer for the document or a section. A footer typically contains the author of the document, copyright information, links to terms of use, contact information, etc.<br \/>\nA document can has more than one footer, although it cannot be placed within a &lt;header&gt;\u00a0or another &lt;footer&gt;\u00a0element, and it cannot contain a\u00a0&lt;header&gt; element.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>index2.html<\/em><\/span><\/p>\n<pre class=\"brush:html\"> \r\n&lt;!DOCTYPE html&gt; \r\n&lt;html lang=en&gt;\r\n\t&lt;head&gt;\r\n\t&lt;style&gt;\r\n\thtml, body{\r\n\twidth:100%;\r\n\theight:100%;\r\n\tmargin:0%;\r\n\tfont-family:\"helvetica\",\"verdana\",\"calibri\", \"san serif\";\r\n\toverflow:visible;\r\n\tpadding:0%;\r\n\tborder:0%;\r\n\t}\r\n\t \r\n\t&lt;\/style&gt;\r\n\t \t\t&lt;meta charset=\"utf-8\" \/&gt;\r\n\t\t&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi\"\/&gt;\r\n\t\r\n\t&lt;title&gt; \r\nHtml5 Semantic Elements Example\r\n&lt;\/title&gt;\r\n\t&lt;style&gt;\r\n\r\n\r\n&lt;\/style&gt;\r\n\t&lt;\/head&gt;\r\n\t&lt;body&gt;\r\n\u00a0&lt;header&gt;\r\n\u00a0&lt;h1&gt;\r\nOnclick Event Attribute\r\n&lt;\/h1&gt;\r\n&lt;\/header&gt;\r\nThe onclick event occurs when the user clicks on an element. When a user clicks on an element with the mouse or touches an element in a touchscreen environment. We can listen for click events on an element in so many ways.\r\nOne way we can do this is to add an onClick attribute directly to the element\r\n&lt;footer&gt;\r\n\u00a9 2016 HTML5 LEARN Corporation\r\n&lt;\/footer&gt;\r\n\t&lt;\/body&gt;\r\n\t&lt;\/html&gt;\r\n\t\r\n\t\r\n<\/pre>\n<h3>1.3 &lt;aside&gt;<\/h3>\n<p>The aside element defines content aside from the page content. Its content should always be related to the page content. It is often represented as side bars.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>index3.html<\/em><\/span><\/p>\n<pre class=\"brush:html\">&lt;!DOCTYPE html&gt; \r\n&lt;html lang=en&gt;\r\n\t&lt;head&gt;\r\n\t&lt;style&gt;\r\n\thtml, body{\r\n\twidth:100%;\r\n\theight:100%;\r\n\tmargin:0%;\r\n\tfont-family:\"helvetica\",\"verdana\",\"calibri\", \"san serif\";\r\n\toverflow:visible;\r\n\tpadding:0%;\r\n\tborder:0%;\r\n\t}\r\n\t #as{\r\nfont-size:larger;\r\nfont-style:italic;\r\ncolor:red;\r\nfloat:right;\r\nwidth:35%;\r\npadding-left:5px;\r\n\r\n}\r\n\t&lt;\/style&gt;\r\n\t \t\t&lt;meta charset=\"utf-8\" \/&gt;\r\n\t\t&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi\"\/&gt;\r\n\t\r\n\t&lt;title&gt; \r\nHtml5 Semantic Elements Example\r\n&lt;\/title&gt;\r\n\t&lt;style&gt;\r\n\r\n\r\n&lt;\/style&gt;\r\n\t&lt;\/head&gt;\r\n\t&lt;body&gt;\r\n\u00a0&lt;header&gt;\r\n\u00a0&lt;h1&gt;\r\nOnclick Event Attribute\r\n&lt;\/h1&gt;\r\n&lt;\/header&gt;\r\n&lt;aside id=as&gt;\r\nIn HTML and JavaScript parlance an event can be something the browser does or something the user does. \r\n\r\n&lt;\/aside&gt;\r\nThe onclick event occurs when the user clicks on an element. When a user clicks on an element with the mouse or touches an element in a touchscreen environment. We can listen for click events on an element in so many ways.\r\nOne way we can do this is to add an onClick attribute directly to the element\r\n\r\n&lt;footer&gt;\r\n\u00a9 2016 HTML5 LEARN Corporation\r\n&lt;\/footer&gt;\r\n\t&lt;\/body&gt;\r\n\t&lt;\/html&gt;\r\n<\/pre>\n<h3>1.4 &lt;main&gt;<\/h3>\n<p>This tag defines the main content of the page. An HTML document can has a maximum of one\u00a0&lt;main&gt; element. It must not appear within the\u00a0&lt;article&gt;, &lt;aside&gt;,\u00a0&lt;footer&gt;, &lt;header&gt;\u00a0or\u00a0&lt;nav&gt;\u00a0tags. The\u00a0&lt;main&gt; tag was introduced in HTML5.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>index4.html<\/em><\/span><\/p>\n<pre class=\"brush:html\">&lt;!DOCTYPE html&gt; \r\n&lt;html lang=en&gt;\r\n\t&lt;head&gt;\r\n\t&lt;style&gt;\r\n\thtml, body{\r\n\twidth:100%;\r\n\theight:100%;\r\n\tmargin:0%;\r\n\tfont-family:\"helvetica\",\"verdana\",\"calibri\", \"san serif\";\r\n\toverflow:visible;\r\n\tpadding:0%;\r\n\tborder:0%;\r\n\t}\r\n\t #as{\r\nfont-size:larger;\r\nfont-style:italic;\r\ncolor:red;\r\nfloat:right;\r\nwidth:35%;\r\npadding-left:5px;\r\n\r\n}\r\n\t&lt;\/style&gt;\r\n\t \t\t&lt;meta charset=\"utf-8\" \/&gt;\r\n\t\t&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi\"\/&gt;\r\n\t\r\n\t&lt;title&gt; \r\nHtml5 Semantic Elements Example\r\n&lt;\/title&gt;\r\n\t&lt;style&gt;\r\n\r\n\r\n&lt;\/style&gt;\r\n\t&lt;\/head&gt;\r\n\t&lt;body&gt;\r\n\u00a0&lt;header&gt;\r\n\u00a0&lt;h1&gt;\r\nOnclick Event Attribute\r\n&lt;\/h1&gt;\r\n&lt;\/header&gt;\r\n&lt;aside id=as&gt;\r\nIn HTML and JavaScript parlance an event can be something the browser does or something the user does. \r\n&lt;\/aside&gt;\r\n&lt;main&gt;\r\nThe onclick event occurs when the user clicks on an element. When a user clicks on an element with the mouse or touches an element in a touchscreen environment. We can listen for click events on an element in so many ways.\r\nOne way we can do this is to add an onClick attribute directly to the element\r\n&lt;\/main&gt;\r\n&lt;footer&gt;\r\n\u00a9 2016 HTML5 LEARN Corporation\r\n&lt;\/footer&gt;\r\n\t&lt;\/body&gt;\r\n\t&lt;\/html&gt;\r\n<\/pre>\n<h3>1.5 &lt;article&gt;<\/h3>\n<p>The article tag defines an article in the document. The content within the\u00a0&lt;article&gt; tag is independent from the other content on the site (even though it could be related). Examples of article content could include a forum post, a newspaper article, a blog entry, or a user-submitted comment.<br \/>\nThe\u00a0&lt;article&gt;\u00a0tag was introduced in HTML5.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>index5.html<\/em><\/span><\/p>\n<pre class=\"brush:html\"> \r\n&lt;!DOCTYPE html&gt; \r\n&lt;html lang=en&gt;\r\n\t&lt;head&gt;\r\n\t&lt;style&gt;\r\n\thtml, body{\r\n\twidth:100%;\r\n\theight:100%;\r\n\tmargin:0%;\r\n\tfont-family:\"helvetica\",\"verdana\",\"calibri\", \"san serif\";\r\n\toverflow:visible;\r\n\tpadding:0%;\r\n\tborder:0%;\r\n\t}\r\n\t \r\n\t&lt;\/style&gt;\r\n\t \t\t&lt;meta charset=\"utf-8\" \/&gt;\r\n\t\t&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi\"\/&gt;\r\n\t\r\n\t&lt;title&gt; \r\nHtml5 Semantic Elements Example\r\n&lt;\/title&gt;\r\n\t&lt;style&gt;\r\n\r\n\r\n&lt;\/style&gt;\r\n\t&lt;\/head&gt;\r\n\t&lt;body&gt;\r\n\u00a0&lt;header&gt;\r\n\u00a0&lt;h1&gt;\r\nOnclick Event Attribute\r\n&lt;\/h1&gt;\r\n&lt;\/header&gt;\r\nThe onclick event occurs when the user clicks on an element. When a user clicks on an element with the mouse or touches an element in a touchscreen environment. We can listen for click events on an element in so many ways.\r\nOne way we can do this is to add an onClick attribute directly to the element\r\n&lt;footer&gt;\r\n\u00a9 2016 HTML5 LEARN Corporation\r\n&lt;\/footer&gt;\r\n\t&lt;\/body&gt;\r\n\t&lt;\/html&gt;<\/pre>\n<footer>\u00a9 2016 HTML5 LEARN Corporation<\/footer>\n<h3>1.6 &lt;address&gt;<\/h3>\n<p>The address tag defines the contact information for the author\/owner of a document or an article. The\u00a0&lt;address&gt;\u00a0tag cannot contain\u00a0&lt;article&gt;,\u00a0&lt;aside&gt;, &lt;nav&gt;,\u00a0&lt;section&gt;,\u00a0&lt;header&gt;, &lt;footer&gt;,\u00a0&lt;hgroup&gt;,\u00a0&lt;h1&gt;-&lt;h6&gt;\u00a0or other\u00a0&lt;address&gt; elements.<\/p>\n<h3>1.7 &lt;details&gt; and &lt;summary&gt;<\/h3>\n<p>The &lt;details&gt; tag defines additional information that the user can view or hide. It functions as an open and close widget- it can be opened to view additional details.<br \/>\nThe content of a &lt;details&gt; is not visible by default unless the open (boolean) attribute is set to true.<br \/>\nThe\u00a0&lt;summary&gt; tag is used to specify a visible heading for the details. The heading can be clicked to view\/hide the details.<\/p>\n<p><span style=\"text-decoration: underline;\"><em>index6.html<\/em><\/span><\/p>\n<pre class=\"brush:html\">&lt;!DOCTYPE html&gt; \r\n&lt;html lang=en&gt;\r\n\t&lt;head&gt;\r\n\t&lt;style&gt;\r\n\thtml, body{\r\n\twidth:100%;\r\n\theight:100%;\r\n\tmargin:0%;\r\n\tfont-family:\"helvetica\",\"verdana\",\"calibri\", \"san serif\";\r\n\toverflow:visible;\r\n\tpadding:0%;\r\n\tborder:0%;\r\n\t}\r\n\r\n\t&lt;\/style&gt;\r\n\t \t\t&lt;meta charset=\"utf-8\" \/&gt;\r\n\t\t&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi\"\/&gt;\r\n\t\r\n\t&lt;title&gt; \r\nHtml5 Semantic Elements Example\r\n&lt;\/title&gt;\r\n\t&lt;style&gt;\r\n\r\n\r\n&lt;\/style&gt;\r\n\t&lt;\/head&gt;\r\n\t&lt;body&gt;\r\n\u00a0&lt;header&gt;\r\n\u00a0&lt;h1&gt;\r\nTerms Of Service\r\n&lt;\/h1&gt;\r\n&lt;\/header&gt;\r\n&lt;details&gt;\r\n&lt;summary&gt;\r\nsee more...\r\n&lt;\/summary&gt;\r\nYou are not allowed to lift data from this domain without our express and written permission\r\n\r\n&lt;\/details&gt;\r\n\t&lt;\/body&gt;\r\n\t&lt;\/html&gt;\r\n<\/pre>\n<h2>2. Summary<\/h2>\n<p>In this example we learnt about HTML5 semantic elements. We also gave detailed information about each of them with examples.<\/p>\n<h2>3. Download the source code<\/h2>\n<div class=\"download\">\n<p><strong>Download<\/strong><br \/>\nYou can download the full source code of this example here:\u00a0<strong><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2017\/01\/html5semanticelement.zip\">html5semanticelement<\/a><\/strong><\/p>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element or tag you can tell its function. In this example we will learn about HTML5 semantic elements. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ulp id=&#8217;tgm4cmEWcKUikZNn&#8217;] &nbsp; For &hellip;<\/p>\n","protected":false},"author":164,"featured_media":914,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[426],"class_list":["post-15799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5","tag-semantic-elements"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Html5 Semantic Element Example - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element\" \/>\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.webcodegeeks.com\/html5\/html5-semantic-element-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Html5 Semantic Element Example - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-20T14:52:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-19T11:15:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Olayemi Odunayo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olayemi Odunayo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/\"},\"author\":{\"name\":\"Olayemi Odunayo\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/417918d9b5811210265e8590509718b8\"},\"headline\":\"Html5 Semantic Element Example\",\"datePublished\":\"2017-01-20T14:52:39+00:00\",\"dateModified\":\"2017-12-19T11:15:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/\"},\"wordCount\":691,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg\",\"keywords\":[\"Semantic elements\"],\"articleSection\":[\"HTML5\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/\",\"name\":\"Html5 Semantic Element Example - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg\",\"datePublished\":\"2017-01-20T14:52:39+00:00\",\"dateModified\":\"2017-12-19T11:15:37+00:00\",\"description\":\"A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/html5\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Html5 Semantic Element Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/417918d9b5811210265e8590509718b8\",\"name\":\"Olayemi Odunayo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/016b2a353262962fceecf5c274161cd9ef60fdf1593ec95e71d37f5fd9b444f6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/016b2a353262962fceecf5c274161cd9ef60fdf1593ec95e71d37f5fd9b444f6?s=96&d=mm&r=g\",\"caption\":\"Olayemi Odunayo\"},\"description\":\"I am a programmer and web developer, who has experience in developing websites and writing desktop and mobile applications. I have worked with both schematic and schemaless databases. I am also familiar with third party API and working with cloud servers. I do programming on the client side with Java, JavaScript, html, Ajax and CSS while I use PHP for server side programming.\",\"sameAs\":[\"https:\/\/www.webcodegeeks.com\/\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/olayemi-odunayo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Html5 Semantic Element Example - Web Code Geeks - 2026","description":"A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element","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.webcodegeeks.com\/html5\/html5-semantic-element-example\/","og_locale":"en_US","og_type":"article","og_title":"Html5 Semantic Element Example - Web Code Geeks - 2026","og_description":"A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element","og_url":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2017-01-20T14:52:39+00:00","article_modified_time":"2017-12-19T11:15:37+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg","type":"image\/jpeg"}],"author":"Olayemi Odunayo","twitter_card":"summary_large_image","twitter_creator":"@webcodegeeks","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Olayemi Odunayo","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/"},"author":{"name":"Olayemi Odunayo","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/417918d9b5811210265e8590509718b8"},"headline":"Html5 Semantic Element Example","datePublished":"2017-01-20T14:52:39+00:00","dateModified":"2017-12-19T11:15:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/"},"wordCount":691,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg","keywords":["Semantic elements"],"articleSection":["HTML5"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/","url":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/","name":"Html5 Semantic Element Example - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg","datePublished":"2017-01-20T14:52:39+00:00","dateModified":"2017-12-19T11:15:37+00:00","description":"A semantic HTML element is an element which has its meaning clearly defined to both the browser and the developer. By merely looking at a semantic element","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/html5-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/html5\/html5-semantic-element-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"HTML5","item":"https:\/\/www.webcodegeeks.com\/category\/html5\/"},{"@type":"ListItem","position":3,"name":"Html5 Semantic Element Example"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/417918d9b5811210265e8590509718b8","name":"Olayemi Odunayo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/016b2a353262962fceecf5c274161cd9ef60fdf1593ec95e71d37f5fd9b444f6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/016b2a353262962fceecf5c274161cd9ef60fdf1593ec95e71d37f5fd9b444f6?s=96&d=mm&r=g","caption":"Olayemi Odunayo"},"description":"I am a programmer and web developer, who has experience in developing websites and writing desktop and mobile applications. I have worked with both schematic and schemaless databases. I am also familiar with third party API and working with cloud servers. I do programming on the client side with Java, JavaScript, html, Ajax and CSS while I use PHP for server side programming.","sameAs":["https:\/\/www.webcodegeeks.com\/"],"url":"https:\/\/www.webcodegeeks.com\/author\/olayemi-odunayo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/15799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=15799"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/15799\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/914"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=15799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=15799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=15799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}