Fireship · @fireship

HTML in 100 Seconds

Uploaded December 3, 2021 · Length 2:34

HTML in 100 Seconds

Summary

learn how to build a basic web page using html tags and structure in 100 seconds

  • html basics
  • web development
  • html tutorial
  • building a website

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    hypertext markup language or HTML is a

  2. 0:03

    language that defines the structure of

  3. 0:05

    content on a web page development

  4. 0:07

    started in 1989 at CERN by Tim burner

  5. 0:10

    Lee who had just invented the world's

  6. 0:12

    first web browser worldwide web the

  7. 0:14

    origin of www but he needed a publishing

  8. 0:17

    language to display content within it so

  9. 0:19

    he chose a syntax based on the standard

  10. 0:22

    generalized markup language which uses

  11. 0:24

    opening and closing tags to provide

  12. 0:26

    meaning to otherwise unorganized text

  13. 0:28

    like H for heading p for paragraph and

  14. 0:31

    most importantly a for anchor to link to

  15. 0:33

    a different web page the language

  16. 0:35

    underwent many changes during the

  17. 0:36

    initial rise of the internet and was

  18. 0:38

    standardized as HTML 5 in 2008 the

  19. 0:41

    version we know and love today modern

  20. 0:43

    HTML contains tags to handle a variety

  21. 0:45

    of different media types like video

  22. 0:47

    audio and canvas to draw custom graphics

  23. 0:50

    on the Fly the typical HTML element

  24. 0:52

    starts with an opening and closing tag

  25. 0:55

    in the middle we have content which

  26. 0:56

    might be text or additional HTML

  27. 0:58

    elements called children the opening tag

  28. 1:01

    may also have one or more attributes

  29. 1:03

    which are key value pairs that can

  30. 1:04

    customize the appearance or behavior of

  31. 1:07

    the element to build your first web page

  32. 1:08

    create a file named

  33. 1:10

    index.html this file contains a

  34. 1:12

    hierarchy of nodes based on the document

  35. 1:14

    object model or Dom a web page starts

  36. 1:17

    with an HTML tag and has exactly two

  37. 1:19

    children a head and a body the head

  38. 1:22

    contains things that aren't directly

  39. 1:24

    shown in the web page like a title or a

  40. 1:26

    meta tag to give the page a description

  41. 1:29

    but notice how The Meta element has no

  42. 1:31

    closing tag closing tags are generally

  43. 1:33

    optional when an element is fully

  44. 1:35

    self-contained the body contains the

  45. 1:37

    actual UI for the end user we might

  46. 1:39

    start with an H1 heading followed by a

  47. 1:41

    paragraph of content to add an image we

  48. 1:43

    use an image tag which you'll notice is

  49. 1:45

    self closing then Define The Source

  50. 1:47

    attribute as the file path to the image

  51. 1:49

    and you'll want to give it an ALT

  52. 1:50

    description to make it accessible to

  53. 1:52

    robots and Screen readers what makes web

  54. 1:54

    pages revolutionary though is their

  55. 1:56

    ability to link to other web pages on

  56. 1:58

    the information Super Highway use an