Home > Web Front-end > HTML Tutorial > Detailed syntax of HTML

Detailed syntax of HTML

php中世界最好的语言
Release: 2018-01-23 09:30:33
Original
2056 people have browsed it

This time I will bring you a detailed explanation of HTML syntax. How to use HTML syntax? What are the precautions when using HTML syntax? The following is a practical case, let’s take a look.

What is HTML markup language?

HTML is a symbolic markup language that represents web page information.

2.HTML tags and its attributes

1.HTML documentsave format: .html, .htm, .xhtml

2. Tags and tagged content construct an HTML document. Format: Content

3. Mark attributes (used to control how images, text, etc. are displayed) Format: Content

3. The syntax is not case-sensitive

, , are all Define the same tags, but use lowercase when writing web pages.

4. Document Comments

When commenting on a piece of content, use "".

For example:

I believe you have mastered the method after reading these cases. Please pay attention for more exciting things. php Chinese websiteOther related articles!

Related reading:

About how to operate scroll bars in HTML

htmlHow to make thin line tables

htmlWhat are the display modes of block-level tags, inline tags, and inline block tags

The above is the detailed content of Detailed syntax of 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