1 / 20

Being Awesome with HTML

Being Awesome with HTML. A tutorial by Zoe F. HTML: The quick facts. What: The most popular markup language existing for webpages Who: Tim Berners-Lee When: In 1991, only 20 years ago Where: CERN Labs How: Browser- interpritation Why: He was a genius?.

yamal
Download Presentation

Being Awesome with HTML

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. Being Awesome with HTML A tutorial by Zoe F

  2. HTML: The quick facts • What: The most popular markup language existing for webpages • Who: Tim Berners-Lee • When: In 1991, only 20 years ago • Where: CERN Labs • How: Browser-interpritation • Why: He was a genius?

  3. So what makes HTML so awesome? • It’s interpreted! • It’s simple • It looks impressive without a lot of work

  4. House cleaning. Possible Tools: • Wordpad, • TextWrangler(reccomended for Macs) • Notepad++ • HTMLKit • netBeans • PageSpinner (for really old Macs)

  5. Some nomenclature to impress your friends and enemies • Plain old boring content. I am some plain old boring content • Tags: What does this content look like? <MyTag> Boring Content</MyTag> • Attributes: I mean, what does it reeeeeally look like? <MyTagsize=big>Content</myTag>

  6. Nesting! These are the basics: A lot of the tags we go over today can also be implemented with CSS! • <tag1 >Content</tag1> • <tag1 attribute = stuff><tag2>Content</tag2></tag1> • <tag1><tag2>Content</tag1></tag2> Deprecated Tags

  7. Resources • Reference:http://www.w3schools.com/tags/ • Lab:http://www.binaryspark.com/classes/HTML_rocks/lab_instructions.html • Materials:http://www.binaryspark.com/classes/HTML_rocks/matterials.zip

  8. The standard tags you gotta have <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> </head> <body> </body> </html>

  9. Text formatting Making your content look pretty.

  10. Lists • Numbered lists/Ordered Lists (OL)<ol>…</ol> • Unordered Lists (UL) • <ul>…</ul> • List Items (li)<li>

  11. Doing stuff with images! • <imgsrc = location of file>

  12. Layout! <table> <tr> <td></td> </tr> </table>

  13. Layout! <table> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </table>

  14. Layout! <table> <trcolspan = 3> <td></td> </tr> <tr> <td></td> <td></td> <td></td> </tr> </table>

  15. Head and body tag info. Oooh the power.

  16. Commenting and beyond! <!-- Place the comment here! --> • Use them when the code gets complicated • When you want others to be able to follow what you’ve done • When you want to hide secret messages • Whenever

  17. Linkin’ <a href = “whatever.html” target = “_blank”> Tag attribute attribute

  18. CSS: The final frontierhttp://www.w3schools.com/Css/css_reference_atoz.asp The old way: <font size = 36pt color = “blue”> <B><h1>Hello</h1></b> </font> The new hotness: H1 { font-size:36pt; color:blue; font-weight:bold } <h1>Hello</hello> Property

  19. Internal Style Sheets! • <head> <style type="text/css"> body {background-color:yellow;color:white; } p {color:blue} </style></head>

  20. External stylesheets(dun dunduuuuunnnn)

More Related