Wednesday, 20 August 2014


Page Structure of HTML

Below is a visualization of an HTML page structure:
        <h1>This is a heading</h1>
        <p>This is a paragraph.</p>
        <p>This is another paragraph.</p>

The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration helps the browser to display a web page correctly.
There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML version and type used.

Common Declarations
<!DOCTYPE html>

HTML 4.01
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

< Go To Previous Chapter                  Go To Next Chapter >

No comments:

Post a Comment