Nov
21

Basic Document

Author admin    Category Web Development     Tags

To make a basic HTML page follow these steps:

1. Open a text editor such as Notepad (Don't use Word or any RTF editor)

2. Make a new document and save it as index.html
2.1 Note: Saving it as .htm or .html doesn't matter, it's more common to use .html so use that.

3. Insert the code below:

<html><head>

<title>Title of Page</title></head>

<body>

All My Content Goes Here

</body></html>

4. Now open the file and you have a web page.

Change Some Settings

Lets add some CSS (Cascading Style Sheets) to the index.html page:

<html> <head>

 <title>Title of Page</title> </head>

<style type="text/css">body { background-color: silver; color: gray: font-family: Arial, sans-serif; font-size: 14px;</style>

 <body>
<h1>An Important Heading</h1>

<p>All My Content Goes HereNow look at how text has changed!</p>

 </body> </html>

Done!

Post comment

Recent Posts

Archives

Your Ad Here