HTML and CSS Reference
In-Depth Information
Author relations
Sometimes, a Web page includes the page's author, and you may want to contact her. To help
identify the relation, an author value can be assigned to the link. A common link for such
situations is the mailto: keyword used in an href assignment. For example, the following
listing ( AuthorLink.html in this chapter's folder at www.wiley.com/go/smashing
html5 ) uses the author value along with the mailto: link.
<! DOCTYPE HTML >
< html >
< head >
< style type = ”text/css” >
/* FFF8E3,CCCC9F,33332D,9FB4CC,DB4105 */
body {
font - family : Verdana , Geneva , sans - serif ;
font - size : 11px ;
background - color : #CCCC9F;
color : #33332D;
}
h1 {
background - color : #33332D;
color : #9FB4CC;
font - family : ”Arial Black” , Gadget , sans - serif ;
text - align : center ;
}
h2 {
background - color : #DB4105;
color : #FFF8E3;
}
a {
text - decoration : none ;
font - size : 9px ;
color : #DB4105;
}
</ style >
< meta http - equiv = ”Content-Type” content = ”text/html; charset=UTF-8” >
< title > Author </ title >
</ head >
< body >
< header >
< h1 > All about HTML5 </ h1 >
</ header >
< article >
< header >
< h2 > & nbsp ; Herein lies the Wisdom of the Ages & nbsp ;</ h2 >
</ header >
< section > Whoaaa !& #8213;<em>Wisdom of the Ages?</em>&#8213;That's a lot of respon-
sibility! Why not&#8213;<em>The best I can do since 2010?</em>
< p > Who wrote this thing anyway? </ p >
< h3 > He did !& #8595;</h3>
135
 
Search WWH ::




Custom Search