+ 2

What are semantic html elements?

Could somebody please explain? :(

9th Aug 2019, 11:12 AM
Garnet Redman
Garnet Redman - avatar
2 Answers
+ 1
Bitdegree.org writes “ A semantic element clearly defines its meaning both to the developer and the browser. For example, the <dd> tag does not tell much about its content. ... They are the HTML5 semantic tags.” If you had never used html before you wouldnt know what <ul> did. That is a semantic tag. A non-semantic tag would be something like <title>
9th Aug 2019, 11:26 AM
Ole113
Ole113 - avatar
+ 1
A good 5 min read with a list of semantic HTML elements. https://guide.freecodecamp.org/html/html5-semantic-elements/
9th Aug 2019, 12:03 PM
ODLNT
ODLNT - avatar