Home > Web Front-end > HTML Tutorial > HTML title setting code

HTML title setting code

黄舟
Release: 2016-12-21 16:00:50
Original
2693 people have browsed it

In word documents, titles often need to be particularly eye-catching, such as bold fonts and larger fonts. Similarly, you can also set the title to be displayed in the same format in the html document.

We can use html title tags to set titles. There are 6 title tags in total, from

to

. The smaller the number, the higher the level, and the larger the text.

The following is an example of how to define the html title tag:



html title tag


< ;h1>Title 1


Title 2


Title 3


Title 4


Title 5< /h5>
Title 6



Running result:


Title 1

Title 2

Title 3

Title 4

Title 5

Title 6

The above is the content of the HTML title setting code. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template