Basic HTML Tags ~ Line Breaks

Introduction To Basic HTML Tags ~ In this lession we cover about Line Breaks
The most important tags in HTML are tags that define Line Breaks…

Line Breaks

Horizontal Rule

The horizontal rule does not have a closing tag. It takes attributes such as align and width. For instance:

Comments in HTML

The comment tag is used to insert a comment in the HTML source code. A comment can be placed anywhere in the document and the browser will ignore everything inside the brackets. You can use comments to write notes to yourself, or write a helpful message to someone looking at your source code.

Try It Out!

Open your text editor and type the following text:

Save the page as mypage2.html. Open the file in your Internet browser.

Leave a comment

Your email address will not be published.