.

Friday, March 26, 2010

Coding a Basic HTML Page

Posted by devlevis | Friday, March 26, 2010 | Category: , , , |

Create your first HTML page.
Start with basic content, such as the following:
My Basic Web Page
Epsum factorial non deposit quid pro quo hic escorol.

NOTE:You Should Save This Document In Your Text Editor Like Notepad,etc..

Next, add an html element around the entire document:

<html>
My Basic Web Page
Epsum factorial non deposit quid pro quo hic escorol.
</html>
Then place the head and body elements in the document, like so:
<html>
<head>
</head>
<body>
My Basic Web Page
Epsum factorial non deposit quid pro quo hic escorol.
</body>
</html>
Insert a title element in the head element:
<html>
<head>
<title>CSS guide</title>
</head>
<body>
My Basic Web Page
Sed quis custodiet ipsos custodes?
</body>
</html>
The heading (h1) and paragraph (p) elements go inside the body element, and the page
should render as shown in Figure :

<html>
<head>
<title>CSS guide</title>
</head>
<body>
<h1>My Basic Web Page</h1>
<p>Sed quis custodiet ipsos custodes?</p>
</body>
</html>

Currently have 0 comments:


Leave a Reply