Wednesday, September 14, 2011

More HTML5

Specifications for HTML5:
http://dev.w3.org/html5/spec-author-view/sections.html

HTML5 has a whole bunch of content models not previously available.

Header element:
  • Header not required in HTML5.
  • A header cannot contain another header or footer element.
  • A header is not sectioning content.
Notes from class:
  • Visual object lesson: Money! Which would you choose: 1000-peso bill from Mexico, $1 American bill, or a 2-peso bill from 1976?
  • Envelopes to carry them in. But you can't tell which one is which. We need a way to refer to the envelopes: "Yoda," "Obiwan," and "Mace Windu."
  • Value of this: You can change the values of each of the envelopes in one place, but you always have an envelope to refer to.
  • Envelope = "variable" we can refer to.
  • Learn about forms
  • Something I learned: There is an input type "password" that lets you type something and it comes up as dots in the field so you can't see it!
  • HTML is not case-sensitive.
  • When you click on the submit button you create, the url changes.
  • Any time you see a question mark, think "Variable!"
  • In a POST method, you can't see the destination in the URL.
  • In a GET method, you CAN see the destination in the URL.

No comments: