1. Technology

Web Page HTML

How to Build a Web Page Using HTML


There are six HTML tags you need to know to build a basic web page. While there are dozens of other HTML tags you can and should use to create complex pages, if all you need to do is get some text content on the web, the web page HTML you need is minimal as well.

Web Page HTML — Structure Tags

Here is an template of web page HTML that you should use on every web page you build. Just copy and paste the following into your HTML editor:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html lang="en">
  <title><!-- Insert your title here --></title>
  <!-- Insert your content here -->

Replace the two comments (the highlighted text, including the <!-- and -->) with your title and web page contents.

This simple template is all you need to get started writing web page HTML. It is made up of the following tags:

Creating Paragraphs on Web Pages with HTML

The only other tag that you should consider is the paragraph tag: <p> </p>. Use this tag to surround your text paragraphs so that they are easier to read. Learn more about the correct usage of the paragraph tag.

Going Further with Your Web Page HTML

You will most likely get tired of web pages that have only paragraphs of text. Once you're confident that you can create web pages with paragraphs of text then you can move on to more advanced topics, including:

©2014 About.com. All rights reserved.