Chinese

Change Font Size:

Some basic HTML Tag

HTML, the main basis for comparison for the Tag titles, paragraphs and branches.

HTML learning the best way to do this is with an example of. To facilitate that learning, we have prepared a simple HTML editor, you can write HTML code on the left, then click the button above to view the HTML display results.

Try!

Example: a very simple HTML documents

This example is one of the most simple HTML documents, contains only the most basic to form a Tag HTML documents. Through this example, you can see that the browser is how to display this document as HTML documents have a right understanding of the original.

Example: simple paragraphs

This example shows that in the HTML document how subparagraph.

Text Title

This example to tell you how to define the HTML document body heading.

HTML to use <h1> <h6> Tag to define these text headings´Ó´óµ½Ð¡. Text of each heading a separate paragraph.

  <h1> This is a heading </ h1> 
  <h2> This is a heading </ h2> 
  <h3> This is a heading </ h3> 
  <h4> This is a heading </ h4> 
  <h5> This is a heading </ h5> 
  <h6> This is a heading </ h6> 

Paragraphs of

In HTML and use <p> </ p> of paragraphs.

  <p> This is a paragraph </ p> 
  <p> This is another paragraph </ p> 

Newline

By using this <br> Tag, in the new paragraph is not the case for firms. <br> No Closing Tag.

By <p>-trip is a bad habit, and correct use <br>.

  <p> This <br> is a para <br> graph with line breaks </ p> 

HTML Notes

In the HTML document, you can write code notes explain your code so that you and others will help to better understand your code.

Notes can be written In "! - And -> between. Notes browser is neglected, and you will not see your HTML text of the Notes.

  <! - This is a comment -> 

Some small proposals

HTML files will be automatically cut off the excess space. Whether you increase the number of spaces, have been seen as a space. An empty row has been seen as a space.

Tag to some of the text sui generis, without the need to use <p> </ p> to subparagraph. For example <h1> </ h1> Tag the title of the category.

More examples

More paragraphs

This example shows the characteristics of paragraphs.

Newline

Examples of how to tell you this HTML document for the trip.

Text Title

Examples of how this church in your HTML documents show that the text heading.

Heading the body of the middle

This example to tell you how to display text headings center.

Increase of the horizontal line

This example demonstrated how increases in HTML text of the horizontal line.

Notes code

This example shows how to add HTML code in the code notes, these notes show only in the HTML source code, source code and the eventual formation of the website, can not see these notes.

Background Color

This example shows how to change the background color HTML document.