2013年12月9日 星期一

Lab 29 Making images accessible

1. Study what an ALT tag is.
2. Use Notepad++ to edit the following homepage
at http://bloggercamp.blogspot.com/2007/01/2007.html
3. Save your editings and preview your webpage.
4. Make the webpage accessible by
adding ALT text to the images.
5. Check whether you can see the ALT text for the images by moving the mouse over the image.







Lab 28 視障者使用網頁的需求

參考視障者瀏覽網頁的需求,請至少針對五類需求(例如:選定你的語言),每類舉出一個網頁實例(台灣或國外皆可),並列出該網頁關鍵HTML片段,證明該網頁的確符合視障者需求。



1.指定語言



2.不要開出新視窗

找不到 <a target="_blank">   所以不會開啟新視窗




3.
提供能取代圖片的文字






4.在鏈結上加入標題



5.提供額外的導覽協助











2013年12月2日 星期一

Lab 27 如何計算 PageRank

有A, B, C 三個網頁,A引用了B, C,B引用了C,C也引用了 A
計算A,B,C 三個網頁的PageRank,三者PageRank排序為何?

P(A)=0.15+P(C)/2*0.85
P(B)=P(A)*0.85+0.15
P(C)=[P(A)+P(B)]*0.85+0.15

P(A)=0.8078
P(B)=0.8366
P(C)=1.5478

得 P(C) > P(B) > P(A)