'html' identifies an HTML document : html « Tags « HTML / CSS






'html' identifies an HTML document

  
<html>
<head>
<title>hr element example</title></head>
<body>Text
     <hr id="firstRule" noshade color="blue">
     Text
     <hr id="secondRule" color="blue">
     <br>
     <br>
     www.java2s.com
</body>
</html>
      
        
    
  








Related examples in the same category

1.XHTML headers
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