Livelli di titoli in HTML Níveis de títulos em HTML Titelebene in HTML Niveaux de titres en HTML Encabezados en HTML

Headings

HTML can use six different levels of headings to define the hierarchical structure of paragraphs in a document:

TagVisual Effect
H1 Test
H2 Test
H3 Test
H4 Test
H5 Test
H6 Test

Attributes

The following attributes are placed within structure tags so that the HTML elements can be displayed in specific places:

Attribute Value Visual Effect
ALIGN LEFT

RIGHT

CENTER

JUSTIFY

Left-aligned text

Right-aligned text

centred text

Justified text

NOWRAP   Prevents the browser from creating a line break.
ID   Gives the tag an identification. This attribute is especially useful for programming with JavaScript
LANG   Specifies a different language
CLASS   Assigns a class to the contents (for style sheets)
CLEAR   Used when text is surrounding an image. It brings the text as far down on the page as needed in order to have a clear margin.

Here is an example header:

<H1 ALIGN=JUSTIFY> Justified text </H1>


Last update on Thursday October 16, 2008 02:43:14 PM.This document entitled « Headings in HTML » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Best answers for « Headings in HTML » in :
HTML Markup Show HTML, A Markup Language HTML is not a programming language. Rather, it is used for describing the layout and format of content, written in the form of simple text. An HTML page is a basic text file containing tags for specifying text format,...
HTML document layout Show HTML document An HTML page is a simple file containing text formatted with HTML tags. Traditionally, the file is given an .htm or .html extension, but a web page may have other extensions as well. A web page can be built from even the most basic...
Introduction to HTML Show Introduction to HTML HTML (HyperText Mark-Up Language) is what is known as a "mark-up language" whose role is to prepare written documents using formatting tags. The tags indicate how the document is presented and how it links to other documents....
How to easily display PHP/HTML codes in your webpages ShowHow to easily display PHP/HTML codes in your webpages Issue What code to use? Issue If you want your visitors to be able to see the source codes of your webpage, there is a very easy way to do so. Normally, all you have to do in a...
Remove the border on an image in a link in HTML / CSS ShowRemove the border on an image in a link in HTML/CSS HTML You made a clickable image by using the IMG tag within a link and the browser displays a frame or more precisely a border around the image. There are two ways...
How to make a space in your html document ShowHow to make a space in your html document In HTML there is no way that the web browser can recognise the spaces inserted consecutively in between the letters. You can either try it in EI, Mozilla and Opera. The only way to do so is...
Download HTML Tidy ShowHTML Tidy is an utility allowing to prove and to optimize everything encodes HTML. The original version of this utility uses in mode of order only. The present version, called "MISTLETOE TIDY", has a graphic interface. Note that certain editors...
Paragraphs in HTML ShowParagraphs HTML considers paragraphs to be blocks of text. Browsers do their best to fit the contents of paragraphs into the window, unless the NOWRAP or NOBR attribute is explicitly specified. Within a paragraph, all spaces, tabs, and line breaks...
HTML forms ShowForms Interactive forms let web page authors give their pages interactive elements, such as for receiving messages from their readers, much like the reply cards found in some magazines. The reader enters information by filling in fields or clicking...
Managing images in HTML ShowHow do you display images on a web page? Having a few images on a website can make it more attractive and user-friendly. However, it is important not to go overboard, since images can take a long time to load, and in some cases can make a document...