For what purpose <!DOCTYPE> , <span>,div, used for??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

For what purpose <!DOCTYPE> , <span>,div, used for???

plz tell be quick plz i couldn't understand this plz tell.... plz give me detailed informatiom about this...

12th Jan 2018, 4:27 PM
Lucky
Lucky - avatar
3 Answers
+ 1
DOCTYPE tells the browser what version of HTML you are using. Div is an invisible container used for styling and grouping elements. Span is use for styling text.
12th Jan 2018, 4:45 PM
josh mizzi
josh mizzi - avatar
12th Jan 2018, 6:00 PM
josh mizzi
josh mizzi - avatar
0
i need an detailed information about these three with examples of each
12th Jan 2018, 5:58 PM
Lucky
Lucky - avatar