Basic structure of HTML Basic video tutorial

Source: Internet
Author: User


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>&hellip;</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=&ldquo;keywords&rdquo; content=&ldquo; keyword 1, ">
Author:
<meta name=&ldquo;author&rdquo; content=&ldquo; 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 =&rdquo; attribute value &rdquo;>
Single type, with a set value.
such as: (3) .< tag name >&hellip;</tag name >
Symmetric type, no set value.
such as:<title>&hellip;</title>
(4) .< Tag name attribute =&rdquo; property value &rdquo;>&hellip;</Tag name >
Symmetric type, with set values.
such as: <p class=&ldquo;&rdquo;>&hellip;</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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.