Intro to HTML

Introduction

HTML (HyperText Markup Language) is a standard developed over the years to convey information over the internet by using “hyperlinks” - or just links as we know them today. As opposed to a PDF, an HTML page is much more dynamic in nature, letting you browse the web by clicking on links and interacting with the page. Links could take you either to a different location within the current page, or to a different page over the internet.

The last version of HTML is HTML 5.0, which has a LOT more capabilities than what the web originally had in mind. HTML 5 is an extremely comprehensive platform that allows creating a high-end user interface together with the power of CSS and JavaScript.

Code sample

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<!DOCTYPE html>
 <html>
     <head>
         <title>My First Web Page</title>
     </head>
     <body>

         <h1>My first day as a programmer</h1>
         <p>It is exciting.</p>

     </body>
 </html>

Instruction

  1. create a folder in your computer
  2. open Visual Studio Code Editor
  3. create a file “index.html”
  4. copy & paste the code above
  5. edit & view in browsers