What is HTML?
Hypertext Markup Language, Standard Universal Markup Language one of the following applications.
" Hypertext " It means that the page can contain pictures, links , even music, program and other non-literal elements.
Hypertext Markup Language structure includes " header " section (English: head " body " section (English: body " header " " body "
-----from Baidu Encyclopedia
In other words, the front-end interface, including text, sound, pictures, etc., is written through the language of HTML, in the Beef Brisket news release system in contact with the entire web system development, for the combination of HTML code and css+div a new understanding, Use this summary to make a simple understanding of HTML tags.
Element and label and property
I believe that many people learn HTML do not know the difference between the element and the label is what, I do not know, through the query data, self-solve the doubts, share to everyone.
Element: As in high school chemistry study, the element two words represent the constituent material constituent most basic unit, here also, the HTML element is to constitute the HTML file basic object, like above code: <p>hello world!</p> is the element, It forms the most basic unit of HTML.
Tags: is
Attribute:<body> tag, size= "12" This is a property of the <body> section, usually defined in the start tag, and accompanies the "=" paired appearance.
Second, the common label introduction
(1) tags related to text The effect is as follows:
What you need to know is that the <p> paragraph labels,
(2) Labels related to tables
The effect is as follows:
Description of several properties and tags:
1.border align valign bgcolor
Border sets the border width by default to 0.
Align Set Horizontal Alignment, property value: Left center right
valign Set Vertical Alignment, property value: Top Middle Bottom
bgcolor Setting the background color
2. <table></table> definition Form
<tr></tr> add a new row to a TABLE element
<th></th> Adding content to Rows
(3) tags related to pictures
In the brisket, then the common. A sentence in the master template:
< a href = "Http://blog.csdn.net/onlybymyself" Target = "_blank" ></ a >< img src = "/images/tg029logo.gif" />
perfect for inserting images into the application. target= "_blank" to open a new page through href= "", while the element </a> The picture is displayed.
The basic HTML code has no problem with the above-mentioned elements, tags, attributes, and training of several examples.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Summary and practice of common tags in HTML---