0
Html 5
1. Does (! DOCTYPE HTML) start a HTML 5 project? 2.When ever I write (! DOCTYPE HTML) in the part of my code. It comes out on the webpage of my design. Why? How do I write it properly?
5 odpowiedzi
+ 1
See if u r writing it on internet explorer then case is entirely different
0
<!DOCTYPE html> is the correct syntax
0
1. Yes. It's the proper way of telling web browsers that it should expect HTML5 and to read the file/document accordingly.
2. Follow Jan's syntax to write it properly. For a long explanation:
https://www.w3.org/TR/html5/syntax.html#the-doctype
but basically it's just how the web browser parses the code (character by character).
0
When you write your <!DOCTYPE html> does it display on the web page
0
Red.. How?