Before write cde for any website , you should decalare that which version you are using to write code in Web development
<!DOCTYPE html> will do the HTML version declaration.
Put <!DOCTYPE html> in the very first line of your code.
<!DOCTYPE html> will do the HTML version declaration.
Put <!DOCTYPE html> in the very first line of your code.
- There is no white space before it.
- It is case insensitive.
There are two types of Xhtml
- Strict
- Transitional.
1.Strict XHTML:
Strict XHTML is a type of XHTML.It's decalaration code is given bellow
No comments: