Home  >  Article  >  Web Front-end  >  Introductory concepts of HTML

Introductory concepts of HTML

高洛峰
高洛峰Original
2017-02-16 13:53:591386browse

超文本

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

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

HTML的入门概念

 字符实体 

实体名称对大小写敏感!

 

显示结果

描述

实体名称

实体编号

 

空格

 

<

小于号

<

<

大于号

>

>

&

和号

&

&

"

引号

"

"

'

撇号 

' (IE不支持)

'

分(cent)

¢

¢

£

镑(pound)

£

£

¥

元(yen)

¥

¥

欧元(euro)

§

小节

§

§

©

版权(copyright)

©

©

®

注册商标

®

®

商标

×

乘号

×

×

÷

除号

&pide;

÷

图像

alt是的必要属性。

Jpeg适合保存复杂图像

Png 比gif更好得控制透明

Gif 只允许一种透明颜色

表格

表格

描述

定义表格

定义表格标题。

定义表格的表头。

定义表格的行。

定义表格单元。

定义表格的页眉。

定义表格的主体。

定义表格的页脚。

定义用于表格列的属性。

定义表格列的组。

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 Define the document or section header##navmainsectionarticleasidefooter detailssummarytimeHTML Media

      ## Define the container for navigation links

      Define the main content of the document

      Define sections in the document

      Define independent self- Contains content beyond the defined content of the article

      (such as a sidebar)

      Define the footer of a document or section

      Define additional details

      Define details Title of element

      Define date/time

      HTML5 The

      HTML 5 + + HTML 5 The

      ##

      < ;source src="movie.webm" type="video/webm" />

      For more introductory concepts of HTML, please pay attention to the PHP Chinese website for related articles!

      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