Header Ads

Header ADS

.!DOCTYPE and html

<!DOCYPE> AND <html>

<!DOCTYPE>:

<!DCTYPE> declaration is a must before <html> tag.
This <!DOCTYPE> declaration element is the first element of HTML document.
It should like this before <html> tag - 
<!DOCTYPE html>

Coding:



<!DOCTYPE html>
           <head>
                      <title> A TITLE WOULD BE GO HERE </title>
           </head>
          <body>
                       MAIN CONTENT WOULD BE GO HERE 
          </body>

So, this is the coding of <!DOCTYPE>.

IF YOU WANT TO LEARN MORE ABOUT WEB DESIGN AND DEVELOPMENT THAN YOU SHOULD VISIT W3SCHOOLS WEB SITE. BECAUSE I AM NOT A PROFESSIONAL WEB DESIGNER OR DEVELOPER. I AM LEARNING WEB DESIGN AND DEVELOPMENT. I AM WRITING HERE FOR MY PRACTISING AND WISH OF OR WISH TO EARN SOME MONEY THROUGH GOOGLE ADESANSE.

<html>:

<html> is an HTML tag. Every tags of HTML contained in this <html></html> tag, instead of the <!DOCTYPE> tag.
<!DOCTYPE> tag don't stay into the <html> tag.
The <html> tag tells the browser that it is an HTML document.


Codding:

           <head>
                        <title> A TITLE WOULD GO HERE. </title>
           </head>
          <body>
                      MAIN CONTENT WOULD BE GO HERE.
         </body>

So, this is the codding of <html> tag.

IF YOU WANT TO LEARN MORE ABOUT WEB DESIGN AND DEVELOPMENT THAN YOU SHOULD VISIT W3SCHOOLS WEB SITE. BECAUSE I AM NOT A PROFESSIONAL WEB DESIGNER. I AM LEARNING WEB DESIGN AND DEVELOPMENT. I AM WRITING HERE FOR MY PRACTISING AND WISH OF OR WISH TO EARN SOME MONEY THROUGH GOOGLE ADSENSE.

1 comment:

Powered by Blogger.