Introduction to HTML
HTML is a markup language that, with some markup, marks the composition of a Web page, and then the browser displays it based on those tags, and any content you see on the page is tagged with HTML. No matter it is text, picture, sound, animation, video and so on a series of content.
The basic structure of HTML
Two kinds of marking form, one is the appearance of a pair, there is a beginning, and there is an end. One is a single mark. Paired occurrences example: Start
<title> title </title>-------Title Tag
<body>
-------Page Display Area
</body>
tag and character encoding
<title>www.11css.com</title> set the browser's window title
<body>…</body> Page Visible Content
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
Description
The most understandable argument is that UTF-8 includes GB2312. UTF-8 is an internationally accepted standard (including all languages of the world), while GB2312 (Simplified Chinese only) is suitable for Chinese-only websites
meta-for optimization
Example:
The description language of the Web page, describing the main content of the page in a sentence:
<meta name= "description" content= "self-written general language" >
This is the keyword of the webpage:
<meta name=“keywords” content=“ keyword 1, ">
Author:
<meta name=“author” content=“ CSS Web ">
<meta name= "Subject" content= "CSS Tutorial" >
<meta name= "Copyright" content= "Copyright www.11css.com corporation,all rights Reserved."/>
formatting of HTML control tags
(1) .< tag name > <br/>
Single type, no set value.
such as:<br>
(2) .< tag name attribute =” attribute value ”>
Single type, with a set value.
such as: (3) .< tag name >…</tag name >
Symmetric type, no set value.
such as:<title>…</title>
(4) .< Tag name attribute =” property value ”>…</Tag name >
Symmetric type, with set values.
such as: <p class=“”>…</p>
This article is from the "Book House" blog, please be sure to keep this source http://jiefei.blog.51cto.com/6994042/1632249
Basic structure of HTML Basic video tutorial