Summarize some common sense about HTML

零下一度
Release: 2017-06-24 13:58:08
Original
1135 people have browsed it

HTML is particularly easy to understand! If you want to learn how to make your own web pages, come and see me!

First of all, let me introduce what HTML is!

HTML is a language used to describe web pages! When combined with CSS styles, it will have a very cool style!

 1.HTML Refers to a hypertext markup language. Its full name is: Hyper Text Markup Language

 2.HTML is not a programming language but a markup language.

 3.HTML uses markup tags to describe web pages

 4.Markup language is a set of markup tags

5.HTML documents contain HTML tags and text content

6.HTML documents are also called web pages

What are HTML tags?

HTML tag tags are usually It is called HTML tag

 1. HTML tags are keywords surrounded by angle brackets, such as

 2. HTML tags usually appear in pairs,

 3. The first tag in the tag pair is the start tag, which is the first tag, and the latter tag is the end tag, which is the last tag!

   スス:<First tag>Content<Last tag>

Okay! No more nonsense, let’s start with a simple case!

HTML example:

 

 ">
  
  


  
   My first web page!
  
 

[Tips: Pay attention to the indentation of the code!]

 

Then the effect is like this!

It’s that simple! Although it’s ugly, it’s the first after all! There will be many magical effects in the future!

Example analysis:

# 1.Describes the document type


2. Located in and describes the document type

# 3. Located in < Body> and are visual web content, that is to say, everything you see on the web page is located in and

 4. The tag is the header, which is the

## in your web page. # 

What is displayed in this place! 5. Currently, in most browsers, Chinese is output directly or Chinese garbled characters appear, but we The tag is a tag to prevent Chinese garbled characters

 6
means the head!

Okay! That’s it! Everyone has to try it for yourself!

The above is the detailed content of Summarize some common sense about HTML. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!