Introduction to HTML
HTML refers to Hypertext Markup Language (Hyper Text Markup Language), which is not a programming language, but a markup language (Markup Language), markup language is a set of tag tags (Markup tag), HTML uses tag tags to describe Web page, the HTML tag tag is often called the HTML tag (HTML tag), which is a keyword surrounded by angle brackets, such as
HTML tags are usually paired, such as <b> and </b>,html tags can have attributes, the first label in the label is the start tag, the second tag is the end tag, the start tag (start tag or opening TAG) is the element name surrounded by angle brackets, the end tag (end tag or closing tag) is a slash and element name surrounded by angle brackets, the start and end tags are also known as open tags and closed tags, some HTML elements are not end tags, such as <br/> or < hr/>,html tags tag HTML documents and HTML elements, HTML Document Description Web page it contains HTML tags and plain text, HTML documents are composed of nested HTML elements, HTML documents are also called Web pages, the role of Web browser is to read HTML documents, and display them as Web pages. The browser does not display HTML tags, but instead uses labels to interpret the contents of the page.
HTML Instance
HTML Basic TagsHTML titleThe HTML title (Heading) is defined by tags such as
This is a heading the is a heading the is a
heading
HTML paragraphThe HTML paragraph is defined by the <p> tag.
<p>
This is a paragraph. </p>
<p>
This is another paragraph.</p>
HTML LinksHTML links are defined by the <a> tag.
<a href
= "Http://www.w3school.com.cn" This is >
a link</a>
Note: Specify the address of the link in the href attribute.
HTML ImagesHTML images are defined by tags.
/>
Note: The name and dimensions of the image are provided as attributes.
HTML PropertiesHTML tags can have attributes that are always in the form of name/value pairs, such as: Name= "value", which is always specified in the start tag of an HTML element.
Center Arrange headings
Background Color<body bgcolor="yellow">
table Border<table border="1">
Forms </table>
Introduction to HTML, basic tags and properties