Home>Article>Backend Development> How to set font for php form title
How to set the font for the php form title
We can use css style to set the web font, specifically The attribute is font-family. Let’s take a look at how to set the title of the form.
1. First, there is an h2 tag in the form, which is used to display the title of the form.
2. Then we write the style tag in the head and add the style.
Document
font-family can set which font to use. The font name does not require quotation marks, but if the font name has spaces, it needs to be wrapped in quotation marks.
Note: h1-h6 are common headings, h1 can only be used once per page, and more is not conducive to SEO.
For more PHP related knowledge, please visitPHP Chinese website!
The above is the detailed content of How to set font for php form title. For more information, please follow other related articles on the PHP Chinese website!