Using Headings to Structure Text : Logic section « CSS Controls « HTML / CSS

HTML / CSS » CSS Controls » Logic section 
Using Headings to Structure Text
 


<?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" lang="en" xml:lang="en">

<head>
  <title>Using Headings to Structure Text</title>
</head>

<body>
  <h1>Basic Text Formatting</h1>
    <p> this is a test. this is a test. </p>

  <h2>White Space and Flow</h2>
    <p> this is a test. this is a test. </p>

  <h2>Creating Headings</h2>
    <p> this is a test. this is a test. </p>
</body>
</html>

 
Related examples in the same category
1.Style for Logic Section
2.Separate the style by logic
3.Space between text and heading
4.Use class name more than once to format the same logic block
5.Header style
6.Header block border
7.Section header
8.CSS Positioning
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.