HOW TO DEFINE DOCUMENT TYPE DEFINITION (DTD)

<!DOCTYPE> declare it in very first line of HTML document, after this start <html> tag.
<!DOCTYPE> is not HTML tag.
<!DOCTYPE> does not have an end tag.
<!DOCTYPE> declaration is NOT case sensitive.
<!DOCTYPE> provide the information about HTML version use in web page to the web browser.
HTML 4.01is based on SGML so it declared the <!DOCTYPE>.
HTML5 is not based on SGML therefore it does not need a DTD reference or <!DOCTYPE>.

Tip: Must add <!DOCTYPE> to HTML documents, so that all browser easily guess what type of document is.

1 comment :

  1. Thank you for the auspicious writeup. It in fact was a amusement account it.
    Look advanced to far added agreeable from you!
    By the way, how can we communicate?

    Also visit my web blog - Kat

    ReplyDelete