Recent Changes - Search:

Web Design

This website demonstrates using wikis as teaching and learning tool.

The course instructor is happy to share the teaching materials here with those who find it readable.

HTML and CSS: Table and List

Overview - This tutorial gives you a hands-on experience in coding HTML tables and lists, as well as using CSS to style tables and lists.

Note: We use a problem-solving approach to learn CSS. If you want a conventional approach to learn CSS, please go to CSS Tutorial by w3schools.com and spare some time (at home or during class) to study CSS Basic.


Activity 1: HTML Table

  • Make a HTML file that contains the following two tables
姓名地區地址電話註冊專科
洪秀治沙田新界沙田銀城街30-32號威爾斯親王醫院麻醉科26322735麻醉科
龐述俊灣仔香港銅鑼灣恩平道44-48號恩平中心1902室22034483骨科
陳子敬中西區香港中環德輔道中20號德成大廈702室25221200骨科
陳程達油尖旺九龍油麻地彌敦道363號恒成大廈1203室23880233骨科
陳焯雄油尖旺尖沙咀彌敦道132號美麗華大廈18樓1802室23753323血液及血液腫瘤科
區德璋屯門新界屯門青松觀路屯門醫院內科24685389腎病科
區兆寬油尖旺九龍佐敦彌敦道301-309號嘉賓商業大廈1012室23323080耳鼻喉科
區永華油尖旺九龍佐敦彌敦道301-309號嘉賓商業大廈605室23323801耳鼻喉科
歐銘鍇油尖旺九龍彌敦道655號15樓1509室27879372精神科
陳熾鴻油尖旺九龍彌敦道655號15樓1511室27879372精神科
World RegionsPopulation ( 2009 Est.)Internet Users Dec. 31, 2000Internet Users Latest DataPenetration (% Population)Growth 2000-2009
Africa991,002,3424,514,40065,903,9006.7 %1,359.9 %
Asia3,808,070,503114,304,000704,213,93018.5 %516.1 %
Europe803,850,858105,096,093402,380,47450.1 %282.9 %
Middle East202,687,0053,284,80047,964,14623.7 %1,360.2 %
North America340,831,831108,096,800251,735,50073.9 %132.9 %
Latin America/Caribbean586,662,46818,068,919175,834,43930.0 %873.1 %
Oceania / Australia34,700,2017,620,48020,838,01960.1 %173.4 %
WORLD TOTAL6,767,805,208360,985,4921,668,870,40824.7 %362.3 %
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
      <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>WD Tutorial 03 Activity 1</title>
      </head>
  • (Q1): Send your HTML code for this activity.

Activity 2: Style Tables with CSS

  • Use CSS to style the tables to make them look stylish and easy to read.

Activity 3: HTML Definition List

  • Add HTML code that contains the following definition list:
OUHK U123
Introduction to the Internet 國際網絡導論
OUHK U234
Web Sites Design 網頁設計
OUHK CT212
Network Programming and Design 網絡程式設計

Activity 4: Style Definition List with CSS

  • Use CSS to style the definition list to make them look as follows:
  • (Q5): What is your CSS code for this activity?

Activity 5: HTML List

  • Add HTML code that contains the following unorder list:
    <h2>Programme Code</h2>
    <ul>
      <li>BSCCEF1 – Year 1 entry of the BSc in Computer Engineering</li>
      <li>BSCCEF2 – Year 2 entry of the BSc in Computer Engineering</li>
      <li>BSCCEF3 – Year 3 entry of the BSc in Computer Engineering</li>
      <li>BSCHECEF1 – Year 1 entry of the BSc(Hons) in Electronic and Computer Engineering</li>
      <li>BSCHECEF2 – Year 2 entry of the BSc(Hons) in Electronic and Computer Engineering</li>
      <li>BSCHECEF3 – Year 3 entry of the BSc(Hons) in Electronic and Computer Engineering</li>
    </ul>

Activity 6: Style List with CSS

  • Use CSS to style the unorder list to make them look as follows:

Submission

  • Please submit your work to Steven by email: sochoy@ouhk.edu.hk.
  • Please use SXXXXXXX - WD Tutorial 03 Submission as the email subject.
  • You may need to demonstrate your work to Steven in class. Steven may ask you some questions to test your knowledge.
Edit - History - Print - Recent Changes - Search
Page last modified on September 27, 2011, at 11:50 PM