+ 2
How do browsers understand tags?
Html
6 odpowiedzi
+ 4
They render them ...🙃
+ 3
Semantic HTML or semantic markup is HTML that introduces meaning to the web page rather than just presentation. For example, a <p> tag indicates that the enclosed text is a paragraph. This is both semantic and presentational because people know what paragraphs are and browsers know how to display them.
On the flip side of this equation, tags like <b> and <i> are not semantic, because they define only how the text should look (bold or italic) and do not provide any additional meaning to the markup.Examples of semantic HTML tags include the header tags <h1> through <h6>, <blockquote>, <code> and <em>. There are many more semantic HTML tags that can be used as you build a standards-compliant website.Specifically, semantic tags make it clear to the browser what the meaning of a page and its content is. That clarity is also communicated with search engines, ensuring that the right pages are delivered for the right queries.
+ 1
Because the browser is already expecting them. Web browsers will have pre-defined attributes that already exist for standard tags (think of attributes such as the styling and keyboard listeners for a <button>, or the size of an <h1>). The properties of each tag actually go quite deep to allow for semantic markup and accessibility.
+ 1
HTML is divided into two types of Mark-up :
1.StructuralMarkup
2.Semantic Markup
first.
Semantic Markup: These are the tags that do not alter the structure of a page. But these tags add extra information to the page.
Next , Structural Mark-up: As the name indicates, these are the HTML tags or elements that are used to describe the structure of the page.
0
Thanks 😊
0
What is semantic mark up