We're going to make a very very basic site today using the tags <html> <head> <title> and <body>
Open a new document and type
<html>
</html>These tags need to be declared in EVERY HTML document you make no mater how big or small they may be, this tag is what tells your browser that it's going to be reading an HTML document.
The next tag we're going to use is <head>, add it just underneath your <html> tag and be sure to close it, it should now look like this:
<html>
<head>
</head>
</html>
Now it's time to finally add something that will show up in your document, the <title> tag, This is the text that displays in the tab in Chrome, it will look something like this:
<html>This next tag may be the most important tag of the whole document, the <body> tag which is for, you guessed it, the body of the page! When you add it it will look something like this:
<head>
<title>Title goes here</title>
</head>
</html>
<html>
<head>
<title>Title goes here</title>
</head>
<body>
This is the body text
</body>
</html>
Save this as tutorial.html and open it with your browser of choice. You can change the title and body text to what ever you like as practice. Remember, Have fun!
Thanks for the great tut! +followed!
ReplyDeleteEveryone should know at least a LITTLE HTML.
ReplyDeletenow here's something i can actually use. +followed
ReplyDeleteI already know a little but will need to learn more as I am probably going into the IT field soon.
ReplyDelete+followed
thanks really useful, begining to make sense now + followed
ReplyDeleteI'm going to have to sit here and read all of your html posts! It's a little confusing at first but I'm willing to learn because it's soo useful! thanks!
ReplyDeleteim gonna save this blog. i will definetly move to HTML5 and this is just the place to start learning
ReplyDeleteHere goes nothing...As if I know anything about web design but...
ReplyDelete