Home >Web Front-end >HTML Tutorial >Basic knowledge for getting started with HTML

Basic knowledge for getting started with HTML

迷茫
迷茫Original
2017-03-25 10:57:151471browse

超文本

  1. 文本或图像都可以用作链接的标签。

  2. 使用“..”可以连接到源文件的上层文件夹。“..”表示“父文件夹”。 

字符实体 

实体名称对大小写敏感!

显示结果

描述

实体名称

实体编号

 

空格

 

 

小于号

<

<

>

大于号

>

>

&

和号

&

&

"

引号

"

"

'

撇号 

' (IE不支持)

'

分(cent)

¢

¢

£

镑(pound)

£

£

¥

元(yen)

¥

¥

欧元(euro)

§

小节

§

§

©

版权(copyright)

©

©

®

注册商标

®

®

商标

×

乘号

×

×

÷

除号

&pide;

÷

ImageBasic knowledge for getting started with HTML

alt is a required attribute of Basic knowledge for getting started with HTML.

Jpeg is suitable for saving complex images

Png has better control over transparency than gif

Gif only allows one transparent color

Form

Form

Description

Definition table

##< ;caption>

Define the table title.

Define the header of the table.

Define the rows of the table.

Define table cells.

Define the header of the table.

Define the body of the table.

Define the footer of the table.

Define the properties used for table columns.

Defines the group of table columns.

#The borders of empty cells are not displayed. To avoid this, add a space placeholder to an empty cell to display the border.

List

Unordered list

    Ordered list

    List definition

    ##

    Coffee

    Black hot drink

    Milk

    White cold drink

    HTML5
    Layout elements

    ##header##navmain sectionarticleasideDefine the title of the details element##Define the date/time

    Define the header of the document or section

    Define the container for navigation links

    Define the main content of the document

    Definition of a section in a document

    Definition Standalone self-contained articles

    ##Defining content outside of the content (such as sidebar)

    footer
    Define the footer of a document or section

    details
    Define additional details

    ##summary

    ##time

    HTML Media

    HTML5 The


    HTML 5 + +

    HTML 5 The

The above is the detailed content of Basic knowledge for getting started with HTML. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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