1 / 19

Web Page Design

Web Page Design. Week 6. Mozilla Thimble. https://thimble.webmaker.org/en-US / Mozilla Webmaker 提供的 Tools 之一 線上 HTML 編輯器 有一些範例 Projects 可以參考學習或直接使用 可以直接發佈製作好的網頁. H yper T ext M arkup L anguage Markup language  Markup tags Tag  describes document content

melva
Download Presentation

Web Page Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WebPageDesign Week 6

  2. MozillaThimble • https://thimble.webmaker.org/en-US/ • MozillaWebmaker提供的Tools之一 • 線上HTML編輯器 • 有一些範例Projects可以參考學習或直接使用 • 可以直接發佈製作好的網頁

  3. Hyper Text Markup Language • Markup language  Markup tags • Tag  describes document content • HTML document = web page contains tags and plain text What is HTML?

  4. Tag: <keyword> </keyword> • Element: <keyword>HELLOWORLD</keyword> • Where does the ‘browser’ come into play? • Reads HTML documents • Use tags to interpret content Tag & Element

  5. <html> <body> <p>You see me?</p> </body> </html> Basic structure

  6. Begin and end every HTML document with this tag pair • May declare DOCTYPE before it • HTML 4.01 • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> • HTML 5 • <!DOCTYPE html> <html>

  7. Everything between this tag pair will be read and rendered on screen <body>

  8. Headings • Like what you see in Word • Higher number means bigger font size <hi>,i=1~6

  9. Paragraph • Automatically adds space (1 line) before and after the paragraph • Use <br> for a new line with out padding <p>

  10. Describe what font style to use • Attributes: provide additional information about the HTML element • face,color,size… • “red” • rgb(x,x,x) • #XXXXXX • Ex. <font size=“3” face=“arial” color=rgb(10,110,10)> DEPRECATED <font>

  11. Cascading Style Sheets • Separated from HTML to manage element styles, such as layout, font, color… CSS (FYI only)

  12. Bold • Italic • Underline <b>,<i>,<u>

  13. Anchors: hyperlink • <a href=“[destination]”> • A URL • A local HTML document • A file • target • Specifies where to open the link into <a>

  14. Image • <imgsrc=“[destination]”> • A local image file • A URL • http://joung.im.ntu.edu.tw/images/2004_1001_Amsterdam_DISC_0007.jpg • alt • Specifies alternate text <img>

  15. Table, table row, table data/table header • Declare table • Declare row • Declare data cell/table header • Close data cell/table header • Repeat 3~4 to create more columns • Close row • Close table Can declare spanning data cells! <table>,<tr>,<td>/<th>

  16. Unordered list (bullets) • Ordered list (numbers) • List item <ul>,<ol>,<li>

  17. W3Schools http://www.w3schools.com/html/default.asp

  18. 瀏覽器元件檢閱器 • GoogleChrome,Firefox皆有提供 • 直接檢閱網頁上元素的原始碼 • 也可以查閱CSS和使用的JavaScript套件

  19. Now&Future-HTML5 • CutTheRope • http://www.cuttherope.ie/ • AppleHtml5Demo • http://www.apple.com/html5/showcase/vr/ • Html5rocks • http://slides.html5rocks.com/#landing-slide

More Related