Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Full Stack Labs: Web Basics — HTML

Web Basics — HTML

The year is 1989

The year is 1989 and there's a man named Tim Berners-Lee. Tim looks a lot like a scienc-y, late-career, Bradley Whitford but without the molestache.

Tim was putting together a mix tape of Peter Gabriel, Hall & Oates, and KISS when when he thought: "I need a better way to share my science-stuff.doc file withe the world." and

BOOM. The Web.

[personal introduction]

The Tech

The Internet

  • a way for computers to identify other computers

SGML

  • Plaintext publishing format

Two Inventions

HTTP

  • Hypertext Transfer Protocol
  • way of requesting documents

HTML

  • Hypertext Markup Language
  • markup language for publishing documents on the web
  • SGML plus <a> for linking to other documents

The web today

  • 25 years later HTTP and HTML are STILL the primary interfaces of the web
  • Every web-developer needs at least a cursory understanding of HTML to put pages and apps on the internet
  • Web frameworks that had abstracted or circumvented HTML have fallen out of vogue (SproutCore, Cappucino, Flash, Java)
  • Web frameworks that embrased HTML have gained tremendous traction, not only on the web, but on mobile (PhoneGap, Angular, Ember, Jquery)

Learning HTML

  • API is a confusing mess of old and new tags
  • Like multiplication tables: learn and move on

Thinking HTML

  • Everything wrapped in tags
  • Similar to styling a word document:
    • Select section
    • Wrap in openning and closing tags
  • Every tag that is opened must be closed, in order
  • Tags have two default display typse
    • Block (takes up 100% width) - headings, paragraphs, blockquotes
    • Inline - anchors, strong (bold), emphasised (italicized)

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment