background preloader

HTML

Facebook Twitter

HTML List Tags. Dave Raggett's Introduction to HTML. Dave Raggett, revised 24 May 2005.

Dave Raggett's Introduction to HTML

This is a short introduction to writing HTML. What is HTML? It is a special kind of text document that is used by Web browsers to present text and graphics. The text includes markup tags such as <p> to indicate the start of a paragraph, and </p> to indicate the end of a paragraph. HTML documents are often refered to as "Web pages". Many people still write HTML by hand using tools such as NotePad on Windows, or TextEdit on the Mac. P.s. a good way to learn is to look at how other people have coded their html pages. For Mac users, before you can save a file with the ".html" extension, you will need to ensure that your document is formatted as plain text.

This page will teach you how to: start with a title add headings and paragraphs add emphasis to your text add images add links to other pages use various kinds of lists If you are looking for something else, try the advanced HTML page. Start with a title Every HTML document needs a title. <a href=".. <! 10 Minute Guide to HTML Style Sheets:Specifying Indentation and Justification Values. By Craig Zacker Published in February 1997 by Que Corporation In this lesson, you learn how to indent and justify your text elements.

10 Minute Guide to HTML Style Sheets:Specifying Indentation and Justification Values

Indentation and justification are two more common desktop publishing functions that have thus far been difficult for web page authors. Styles now make them simple. Indentation affects only the first line of a text block and moves its starting point inward a specified distance from the left margin. Align and Indent - The Pocket HTML Tutorial. You’ve probably noticed that most of your HTML paragraphs don’t have an initial indentation.

Align and Indent - The Pocket HTML Tutorial

You can use margin or padding to push paragraphs to the right, but that affects the entire paragraph, not just the first line. Furthermore, text is always left-aligned. How do we make centered text, or right-aligned text? As we saw in the “Borders” section, the box model controls the area around the text. This section shows how to move the text around inside the box itself. Indenting Text To indent text, use the handily-named text-indent property. Example 3.24. If you enter a negative value for text-indent, the first line of the text will shift to the left. Example 3.25.

The “container” div has a uniform padding of 5px all around, except for the left padding, which is 30px. Horizontal Alignment The text-align property allows you to align text to the right, left, or center within its containing block. Left: Aligns the text along the left edge of the box, leaving a ragged edge to the right.