Familiarize yourself with common XHTML5 elements by creating a description of Mypetshop website information.
Code:
<! DOCTYPE html>
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title></title>
<meta name= "keywords" content= "mypetshop,xhtml5"/>
<style type= "Text/css" >
aside {
Float:left;
width:15%;
}
Section {
Float:left;
width:84%;
}
Footer {
Clear:both;}
</style>
<body>
<aside>
<nav style= "Background-color: #C0C0Co" >
<a href= "html5.html" > Introduction </a><br/>
<a href= "html5.html" > Database design </a>
</nav>
</aside>
<section>
<article>
Mypetshop is a comprehensive example of this book that showcases ASP. NET 4.5 Web site development techniques.
</article>
<article>
Mypetshop includes front-end product browsing, user management, shopping cart, order settlement and backstage management modules.
</article>
</section>
<footer style= "Background-color: #C0C0C0" >copyright mypetshop </footer>
</body>
Run effect
650) this.width=650; "Width=" 553 "height=" 228 "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>
This article is from the Java web design blog, so be sure to keep this source http://10760879.blog.51cto.com/10750879/1717208
Common Elements of XHTML5