Ask anyone who invented the Internet, and they will likely look at you and shake their head in confusion, even though most people couldn't live without it for a day. Of course, if you asked Al Gore, he would say he did. But the people who really invented the Internet are also important for another, related reason.
Beginning HTML - Inserting a Line Break (Page 3 of 5 )
If you want to end a line but not start a new paragraph, you can use the Line Break tags, which look like this <br>. You will note that there is no closing tag for a line break. Observe this code:
<html>
<head>
<h1>MY Explanation!</h1>
<title>My Website</title>
</head>
<body>
<b>Hello, here is some bold text</b>
<p> Here is a paragraph</p>
<p><h2>Here is a paragraph with an H2 header </h2></p>
<p> Here is a paragraph <br> with <br> some <br> page breaks.
</body>
</html>
<! I am a comment! The computer does not see me tee-hee!>
This is the result of the above code:
MY Explanation!
Hello, here is some bold text
Here is a paragraph
Here is a paragraph with an H2 header
Here is a paragraph with some page breaks.
There is another type of page break, but we will cover that later in the tutorial.