elements used inside of element. Use the sectioning elements to create a broad outline for your page content, including header and footer navigation, and heading elements to identify sections of content. HyperText Markup Language. Div vs Semantic HTML, using VoiceOver Web Rotor: both versions show controls and state, but semantic version includes form labels and context Div vs Semantic HTML, mobile: visually the same. MDN Web Docs Glossary: Definitions of Web-related terms, The meaning of semantics in computer science, Search engines will consider its contents as important keywords to influence the page's search rankings (see, Screen readers can use it as a signpost to help visually impaired users navigate a page, Finding blocks of meaningful code is significantly easier than searching through endless, Suggests to the developer the type of data that will be populated, Semantic naming mirrors proper custom element/component naming. In order to create dynamic content and Web applications, HTML supports the use of scripting languages, most prominently JavaScript. In CSS, consider styling a list with li elements representing different types of fruits. When a screen reader, or any sort of assistive device scans a web page, it gets information about the Document Object Model (DOM), or the HTML structure of the page. the section on elements in the Introduction to HTML article, Assessment: Structuring a page of content, From object to iframe — other embedding technologies. They are listed here for informational purposes only. We can't discuss semantic HTML without mentioning the accessibility tree! This should make browsing much faster for those visiting from mainland China. Now imagine if we follow this pattern for all our markup! MDN; W3C Some of the benefits from writing semantic markup are as follows: When approaching which markup to use, ask yourself, "What element(s) best describe/represent the data that I'm going to populate?" Although any tag can be used for a button, it will only be keyboard focusable if you use a