Home arrow HTML arrow Page 3 - Beginning HTML
HTML

Beginning HTML


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.

Author Info:
By: James Payne
Rating: 4 stars4 stars4 stars4 stars4 stars / 5
January 08, 2008
TABLE OF CONTENTS:
  1. · Beginning HTML
  2. · Formatting HTML Documents
  3. · Inserting a Line Break
  4. · Comments
  5. · Formatting Text

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
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.


blog comments powered by Disqus
HTML ARTICLES

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials