Internet Tutorial and Web Guide for the Complete Beginner Internet Tutorial and Web Guide for the complete beginner
Directory/Home | Compact Search | Regional | Internet Tutorial | Web Searching Tutorial | Shop Online | Contact Us
Tutorial Subjects
Intro | Navigation | Finding Info | The Browser | Ask a Question | Recent Questions | Archived Questions | Terminology
 

In HTML how do I place a line on a Web Page ?

General Disclaimer - Happy Online would like to remind all visitors that they are responsible for their own computer settings - some suggestions may not work on some computers and may result in errors - you should only make changes to your computer if you are comfortable with any consequences that may arise.

I dont want to encourage to many questions regarding how to code web pages, the tutorial is designed at Internet Newcomers, not Web Design Newcomers - these are two different subjects.

However, I will give the Happy Online visitors a brief introduction to HTML and display a few snippets of code. (Including how to place a line on a Web Page.)

HTML stands for Hyper Text Mark Up Language. HTML is basically a formating language that tells a web browser where to place images, text and other components on a web page.

A simple HTML document would looks like this:-

<html>

<head><title>My Web Page</title></head>

<body>Web Page Content</body>

</html>

If you copied the above text into a simple word processor (your PC is bound to have notepad and is ideal for writing HTML code) and saved the file with a .htm or .html extension (such as test.html) and then opened the file in a web browser you will be presented with a web page (although a very boring web page.).

The items between the <> are known as tags and their are hundreds of different tags that enable you to format text or insert images, tables etc. If you wish to view the underlying code that makes up a web page then you can do this by slecting the view drop down menu at the top of your browser window followed by source. You will soon see that although HTML is a simple language pages can soon get complex, you will also typically see other code when viewing web page source (Most commonly Javascript.).

OK, so how do I place a line on the web page like the example below ?

To do this you need the HTML tag <hr />.

Happy Online 14th July 2003

Ask you own question

This Service has been removed.

 
     

Disclaimer