Google+ logo Twitter logo Youtube logo

Basic HTML document


Basic HTML document

You just have played with some HTML tags. The time is here to tell you that you cannot just "plump" HTML tags in a file and expect it to work.

You need a couple of HTML tags to define the structure of a webpage.

Sounds scary, huh?! Well, good news here; it's just the introduction of three new tags; <html>, <head> and <body>.

Here's a little example;

<html>
	<head>
		...
	</head>
	<body>
		...
	</body>
</html>
  • The html tag needs to contain all HTML tags. (or; elements)
  • The head tag contains information about the HTML document (or webpage). (we'll get back to this one)
  • The body tag contains all visible elements.


Leave a comment ...

Name (will be visible)
E-mailaddress (will not be shown)
Comment
Type the code illustrated below

Back to top