XHTML headers : html « Tags « HTML / CSS






XHTML headers

    
<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
   <head>
      <title>Internet and WWW How to Program - Headers</title>
   </head>

   <body>

      <h1>Level 1 Header</h1>
      <h2>Level 2 header</h2>
      <h3>Level 3 header</h3>
      <h4>Level 4 header</h4>
      <h5>Level 5 header</h5> 
      <h6>Level 6 header</h6>

   </body>
</html>

   
    
    
  








Related examples in the same category

1.'html' identifies an HTML document
2.Body tag
3.HTML document structure
4.Working with 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