Is !DOCTYPE HTML the only type tha exists or there are others too | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is !DOCTYPE HTML the only type tha exists or there are others too

i kind of a noob

3rd Dec 2016, 5:43 AM
CodeOnTheWall
CodeOnTheWall - avatar
3 Answers
+ 3
<!DOCTYPE html> Is the new HTML5 doctype: The previous types were more complicated. HTML 4.01 Strict <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> HTML 4.01 Transitional <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:// www.w3.org/TR/html4/loose.dtd"> HTML 4.01 Frameset <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/ TR/html4/frameset.dtd">
3rd Dec 2016, 7:10 AM
Chris Coder
Chris Coder - avatar
+ 1
thx
3rd Dec 2016, 5:51 AM
CodeOnTheWall
CodeOnTheWall - avatar
0
Not sure, but I think <!DOCTYPE html> works too. and !DOCTYPE html
3rd Dec 2016, 5:47 AM
Ash Ketchum
Ash Ketchum - avatar