# HTML 类 对 HTML 进行分类(设置类),使我们能够为元素的类定义 CSS 样式。 为相同的类设置相同的样式,或者为不同的类设置不同的样式。 ```html

London

London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.

``` ## 分类块级元素 HTML /
元素是块级元素。它能够用作其他 HTML 元素的容器。 设置 /
元素的类,使我们能够为相同的 /
元素设置相同的类: ```html

London

London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.

Paris

Paris is the capital and most populous city of France.

Tokyo

Tokyo is the capital of Japan, the center of the Greater Tokyo Area, and the most populous metropolitan area in the world.

``` ## 分类行内元素 HTML / 元素是行内元素,能够用作文本的容器。 设置 / 元素的类,能够为相同的 / 元素设置相同的样式。 ```html

My Important Heading

```