Style for HTML : html « Tags « HTML / CSS






Style for HTML

    

<!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" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>Creating and styling a web page</title>
<style type="text/css" media="screen">
html {
    font-size: 500%;
}

</style>
</head>
<body>
  <div id="wrapper">
    <h1>A heading</h1>
    <p>generations.</p>
    <blockquote>
      <p>this is a test. this is a test. this is a test. </p>
    </blockquote>
    <p>print.</p>
  </div>
</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.Working with Structure
6.Structured XHTML 1.1 Document
7.Set margin and padding for both and body
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