html 类
标签: html知识 访问: 4962019-07-12
html 类
对 html 进行分类(设置类),使我们能够为元素的类定义 css 样式。
为相同的类设置相同的样式,或者为不同的类设置不同的样式。
实例:
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.
standing on the river thames, london has been a major settlement for two millennia, its
history going back to its founding by the romans, who named it londinium.
查看结果:
分类块级元素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.
standing on the river thames, london has been a major settlement for two millennia, its
history going back to its founding by the romans, who named it londinium.
paris
paris is the capital and most populous city of france.
situated on the seine river, it is at the heart of the 蝜e-de-france region, also known
as the r間ion parisienne.
within its metropolitan area is one of the largest population centers in europe, with
over 12 million inhabitants.
tokyo
tokyo is the capital of japan, the center of the greater tokyo area, and the most
populous metropolitan area in the world.
it is the seat of the japanese government and the imperial palace, and the home of the
japanese imperial family.
the tokyo prefecture is part of the world's most populous metropolitan area with 38
million people and the world's largest urban economy.
查看结果:
分类行内元素
html 元素是行内元素,能够用作文本的容器。
设置 元素的类,能够为相同的 元素设置相同的样式。
实例:
html 类-欧洲杯买球app
查看结果:
本站关键词:大连网站建设 | 欧洲杯买球app-欧洲杯手机投注