Working with Structure : html « Tags « HTML / CSS






Working with Structure

    

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
    <title>Working with Structure</title>
</head>
<body>
    <h1>Welcome</h1>
    <p>this is a test. </p>
    <h2>header 2</h2>
    <p>this is a test. </p>
    <ul>
        <li>D</li>
        <li>P</li>
        <li>L</li>
    </ul>
</body>
</html>

   
    
    
  








Related examples in the same category

1.'html' identifies an HTML document
2.XHTML headers
3.Body tag
4.HTML document structure
5.Structured XHTML 1.1 Document
6.Set margin and padding for both and body
7.Style for HTML
8.Using CSS with HTML
9.An HTML page with CSS rules and HTML attributes
10.Template to illustrate all
11.'xmlns' declares a namespace for creating unique custom tags in the HTML document
12.'version' indicates the version of HTML