HTML and CSS Reference
In-Depth Information
APPENDIX A
Chapter 4 - Sample Content
Listing A-1 specifies the initial HTML content used for the exercises in Chapter 4 . This is available from the
downloaded source in the Default_content.cshtml file. I'm including it here in case you want to see it without
downloading the code.
Listing A-1. Chapter 4 Sample Content
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Chapter 4 - CSS Demo</title>
</head>
<body>
<header class="intro">
<h1>CSS Demo</h1>
<h2>Introducing the new HTML5 features</h2>
<h3>
Use the new CSS3 features to build some of the most visually
appealing web sites.
</h3>
</header>
<nav>
<ul>
<li><a href="#feature">Feature</a></li>
<li><a href="#other">Article</a></li>
<li><a href="#another">Archives</a></li>
<li><a href="http://www.apress.com" target="_blank">Apress</a></li>
</ul>
</nav>
<div id="contentArea">
<div id="mainContent">
<section class="rounded">
<header>
<h2>Main content area</h2>
</header>
 
Search WWH ::




Custom Search