Date post: | 17-Jan-2017 |
Category: |
Technology |
Upload: | rimaoka |
View: | 167 times |
Download: | 0 times |
1 Minute HTML
Hello World in HTML
We’ll create a simple .html file
That makes a simple
“Hello World” page
Let’s type in HTML
HTML file always starts with
<!DOCTYPE html>
The outmost element is
<html> </html>
<head> </head> contains
stuff invisible in document content
<head> </head> contains
stuff invisible in document content
What is it?
Document Content
<body> </body> contains
document content
Nothing appears,
As <body> </body> is empty
Let’s add a title
Reloading the page…• Windows – F5
• Mac – Command + R
<title>Page Tile</title>
Let’s add
“Hello World”
in the body
Inside <body> </body> is
available in document content
Reloading the page…• Windows – F5
• Mac – Command + R