2013年12月16日 星期一
2013年12月9日 星期一
LAB 28
第八天:建立有意義的網頁標題
<title>第八天:建立有意義的網頁標題 - Dive Into Accessibility</title>
第十四天:在鏈結上加入標題
<a href="/news/切入-把刀-林書豪效率高-051442418--nba.html" class="title " data-ylk="pkg:ff2bf935-81b5-30ae-bf4a-3a958d417f0c;ver:f3db9bf1-5fd7-11e3-b5d3-37401f88c9ff;ccode:ct.c;lt:i;pos:2;" data-rapid_p="2">切入一把刀 林書豪效率高</a>
第二十三天:提供能取代圖片的文字
<img width="106" border="0" title="氣象局開放資料平臺" alt="氣象局開放資料平臺" src="/V7/images/template/opendata_s.jpg"></img>
第十六天:不要開出新視窗
<a href="/news/切入-把刀-林書豪效率高-051442418--nba.html" class="title " data-ylk="pkg:ff2bf935-81b5-30ae-bf4a-3a958d417f0c;ver:f3db9bf1-5fd7-11e3-b5d3-37401f88c9ff;ccode:ct.c;lt:i;pos:2;" data-rapid_p="2">切入一把刀 林書豪效率高</a>
第九天:提供額外的導覽協助
<a id="pg-next" href="/search;_ylt=A8tUwYCHvKVSgUwABblr1gt.?p=KOBE&ei=utf-8&fr=yfp&xargs=12KPjg1oduy5a3vOHvKvjFSPXBhg9O0JCx5Is%5FWMQaRp8L%5FXNrR6AuOfa%5F3pgqGK5q7y%5Fg%5FQ%2E%2E&b=11&pstart=5" data-b="11">下一頁 ></a>
2013年12月2日 星期一
LAB 27
Pa=0.15+0.425Pc
Pb=0.15+0.85Pa
Pc=0.15+0.85Pa+0.85Pb Pb=0.15+0.85(0.15+0.025Pc) =0.15+0.1275+0.36125Pc Pc=0.15+0.85(0.15+0.425)+0.85(0.15+0.1275+0.35125Pc) =0.15+0.1275+0.36125Pc+0.1275+0.108375+0.3070625Pc =0.513375+0.6683125Pc => 0.3316875Pc=0.513375 => Pc=1.5477671
Pb=0.15+0.1275+0.36125*1.5477671=0.83663086 Pa=0.15+0.45*1.5477671=0.807801012 Pc>Pb>Pa
Pb=0.15+0.85Pa
Pc=0.15+0.85Pa+0.85Pb Pb=0.15+0.85(0.15+0.025Pc) =0.15+0.1275+0.36125Pc Pc=0.15+0.85(0.15+0.425)+0.85(0.15+0.1275+0.35125Pc) =0.15+0.1275+0.36125Pc+0.1275+0.108375+0.3070625Pc =0.513375+0.6683125Pc => 0.3316875Pc=0.513375 => Pc=1.5477671
Pb=0.15+0.1275+0.36125*1.5477671=0.83663086 Pa=0.15+0.45*1.5477671=0.807801012 Pc>Pb>Pa
2013年11月11日 星期一
LAB 26
<!DOCTYPE html>
<html>
<body>
<div style="opacity:0.5;position:absolute;left:300px;width:890px;height:200px;background-color:#40B3DF"></div>
<div style="font-family:verdana;padding:20px;border-radius:10px;border:20px solid #EE878A;">
<div style="opacity:0.3;position:absolute;left:120px;width:100px;height:200px;background-color:02FA22"></div>
<h3>HTC IPHON SAMSUNG </h3>
<div style="letter-spacing:12px;">2581</div>
<div style="color:#40B3DF;">KOBE
<span style="background-color:#B4009E;color:#ffffff;">BRYAN</span>
</div>
<div style="color:#000000;">NBA..</div>
</div>
</body>
</html>
<html>
<body>
<div style="opacity:0.5;position:absolute;left:300px;width:890px;height:200px;background-color:#40B3DF"></div>
<div style="font-family:verdana;padding:20px;border-radius:10px;border:20px solid #EE878A;">
<div style="opacity:0.3;position:absolute;left:120px;width:100px;height:200px;background-color:02FA22"></div>
<h3>HTC IPHON SAMSUNG </h3>
<div style="letter-spacing:12px;">2581</div>
<div style="color:#40B3DF;">KOBE
<span style="background-color:#B4009E;color:#ffffff;">BRYAN</span>
</div>
<div style="color:#000000;">NBA..</div>
</div>
</body>
</html>
2013年11月10日 星期日
2013年11月4日 星期一
LAB 22
<html>
<head>
</head>
<body id="body">
<form action="https://maps.google.com/" name="f" method="get" id="exampleForm" onsubmit="return check()">
search:<input type="text" id="examplePass" name="q" >
<input type="submit" value="submit">
<br>
</form>
</body>
<script>
function check(){
var passwordRegex =/\-?\d+(\.\d+)?\,\-?\d+(\.\d+)?$/;
if(!passwordRegex.test(f.q.value)){
alert("!!!!!!");
f.q.value="";
return false;
}
}
/*
document.getElementById("exampleForm").onsubmit = function(){
var passwordRegex =/\-?\d+(\.\d+)?\,\-?\d+(\.\d+)?$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
return false;
var notify = document.getElementById("notify");
if(notify === null){
notify = document.createElement("p");
notify.textContent = "ERROR";
notify.id ="notify";
var body =document.getElementById("body");
body.appendChild(notify);
}
}
*/
</script>
</html>
<head>
</head>
<body id="body">
<form action="https://maps.google.com/" name="f" method="get" id="exampleForm" onsubmit="return check()">
search:<input type="text" id="examplePass" name="q" >
<input type="submit" value="submit">
<br>
</form>
</body>
<script>
function check(){
var passwordRegex =/\-?\d+(\.\d+)?\,\-?\d+(\.\d+)?$/;
if(!passwordRegex.test(f.q.value)){
alert("!!!!!!");
f.q.value="";
return false;
}
}
/*
document.getElementById("exampleForm").onsubmit = function(){
var passwordRegex =/\-?\d+(\.\d+)?\,\-?\d+(\.\d+)?$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
return false;
var notify = document.getElementById("notify");
if(notify === null){
notify = document.createElement("p");
notify.textContent = "ERROR";
notify.id ="notify";
var body =document.getElementById("body");
body.appendChild(notify);
}
}
*/
</script>
</html>
2013年11月3日 星期日
HOMEWORK 10-28-2013
2013年10月27日 星期日
2013年10月21日 星期一
訂閱:
文章 (Atom)