Nav, Div and Span; Class and Id. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Nav, Div and Span; Class and Id.

Can anyone explain the diferences in use, and how to work with them (examples too)? I still don't understand when to use them (nav, div and span) and the same with Class and Id. Please help (: -Thanks (sorry for my English).

2nd Nov 2016, 6:51 PM
MrSuperTebby
MrSuperTebby - avatar
2 Answers
0
Thanks DarkSec, but honestly it's not answering my question 100% though. As for what I understood, the 'class' and 'id' attributes are exactly the same and there is absolutly no difference between those two. Same with 'div' and 'span', but what about 'nav'? What is 'nav' for? Is there actually no difference between those tags and attributes?
2nd Nov 2016, 7:10 PM
MrSuperTebby
MrSuperTebby - avatar
0
Thanks again Dark, but once more, there is still one question to be answered: Is there any difference between the <div> and <span> elements, and also the "class" and "id" attributes?
2nd Nov 2016, 7:19 PM
MrSuperTebby
MrSuperTebby - avatar