https://doi.org/10.1007/3-540-11572-2As we saw in the exercises at the end of Chapter 1, .. The mistaken idea of choosing our markup solely for its presentation, as epitomized by -based layouts and spacer.gifs, has been thoroughly shown the door by the ?standardista? movement. Instead, our rallying cry is
|
|
|
|
|
|
|
Basic Formalisms and DefinitionsIn order to style an element with CSS, we need to be able to target it. Enter CSS selectors, which allow us to target specific elements in the DOM. |
|
|
|
|
|
|
|
Your First Plunge into HTML5,In our first chapter we covered the background of HTML5, why we should start using it now, and some modern web standards development principles. In this chapter, we’ll get started with creating some actual HTML5 web pages. |
|
|
|
|
|
|
|
function setTab(name,cursel){
cursel_0=cursel;
for(var i=1; i<=links_len; i++){
var menu = document.getElementById(name+i);
var menudiv = document.getElementById("con_"+name+"_"+i);
if(i==cursel){
menu.className="off";
menudiv.style.display="block";
}
else{
menu.className="";
menudiv.style.display="none";
}
}
}
function Next(){
cursel_0++;
if (cursel_0>links_len)cursel_0=1
setTab(name_0,cursel_0);
}
var name_0='one';
var cursel_0=1;
var ScrollTime=3000;//循環(huán)周期(毫秒)
var links_len,iIntervalId;
onload=function(){
var links = document.getElementById("tab1").getElementsByTagName('li')
links_len=links.length;
for(var i=0; i
宁海县|
阿拉善左旗|
霸州市|
惠州市|
宁乡县|
玉树县|
江津市|
左贡县|
金溪县|
民乐县|
龙州县|
汕头市|
施甸县|
宜章县|
岳池县|
团风县|
瓦房店市|
克拉玛依市|
封丘县|
舟山市|
乐平市|
六盘水市|
西畴县|
卢氏县|
精河县|
霞浦县|
久治县|
博野县|
阿坝县|
永安市|
桐梓县|
阿拉善盟|
金沙县|
瑞丽市|
唐海县|
德州市|
双柏县|
赤城县|
岐山县|
昆明市|
宜宾市|
|