Home>Article>Web Front-end> How to set title font size in css

How to set title font size in css

王林
王林 Original
2021-07-12 14:50:00 4899browse

The way to set the title font size in css is to use the

tag to define the highest level title and the

tag to define the lowest level title, for example [

This is Title 1

This is title 6
].

How to set title font size in css

The operating environment of this article: windows10 system, css 3, thinkpad t480 computer.

In the web page, we can directly use the

to

tags to define the title font size. Let’s briefly introduce this tag.

-

tags are used to define HTML titles.

Defines the title with the highest level of importance.

Defines the title with the lowest level of importance.

Example:

    php中文网(php.cn) 

这是标题 1

这是标题 2

这是标题 3

这是标题 4

这是标题 5
这是标题 6

Run as follows:

How to set title font size in css

##Related video tutorial sharing:

css video tutorial

The above is the detailed content of How to set title font size in css. 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
Previous article:Is css cascading important? Next article:Is css cascading important?