forked from JogoShugh/CoderDojoPonceSprings.Events
-
Notifications
You must be signed in to change notification settings - Fork 4
HTML Tutorial
alexthorsrud edited this page Oct 27, 2013
·
11 revisions
Open a text editor. Notepad (Windows) or Textedit (Mac) will do.
In the first line of the document we have to open the HTML document by putting the first line as <html>
. This tells the browser that the HTML code will be after this line in the document.
Next, we open the head of the HTML document. The code for this looks like this: <head>
.
So far your document should look like this:
<html>
<head>
Now we’ll close the head because we don’t need to do anything with it right now. To close a section of HTML, you use a closing tag. For our head section the closing tag looks like this: </head>
. Note that the only difference is the slash before head
and after <
.
Next we’ll open our body section.