Html version declaration - What is Xhtml | Web Development by Tech With Code

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.

  • There is no white space before it.
  • It is case insensitive.

There are two types of Xhtml 

  1. Strict
  2. Transitional.

1.Strict XHTML:

                       Strict XHTML is a type of XHTML.It's decalaration code is  given bellow



Html version declaration - What is Xhtml | Web Development by Tech With Code

1.Strict XHTML:

                       Transitional XHTML is an onther type of XHTML.It's decalaration code is  given                            bellow


Html version declaration - What is Xhtml | Web Development by Tech With Code

No comments:

Powered by Blogger.