Home > Web Design Coding / Scripts > Initial formatting of the html code

Initial formatting of the html code

The first thing that a user must have in order to have the initial formatting of the html code is to first have what’s called the basic set of mandatory tags. There is an example of these tags bellow in Figure 1.

<html>
<head>
<title>
Adrian Francis: Home
</title>
</head>
<body>
The body of the page 
goes here!
</body>
</html>

Figure 1 Html Tags

In Figure 1 there is the <html> tag that tells the browser what type of document the file is; in this case the document is an html document. The other basic tags are: <head> – which in a tag for heading

<title> – which is self explanatory with the title of the page.

And finally the <body> – which is a tag used to separate the head from the body of the document.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: