The usage of big tag in HTML. We all know that the big tag is a basic enlargement tag, but in what elements have we added the big tag? Today’s article talks about how to use it in several elements. For details on adding big tags to elements, start reading this article now
First we need to know the instructions for using the html big tag:
HTML big tag is defined as being slightly larger than ordinary text tag, we often use it many times. Of course, there are also emphasized tags in HTML, but they are different from the big tag we are talking about today. The big tag is a more conspicuous tag. Let’s take a look at the actual situation. .
Here is an example of using the HTML big tag:
<!doctype html> <html> <head> <meta charset="utf-8"> <title>PHP中文网</title> </head> <body> <p>欢迎来到PHP中文网,这是HTML标签属性的一个<big>big</big>标签的使用方法,这是<big>big</big>标签,是一个能放大的一个标 签。</p> </body> </html>
In case you don’t understand the specific use of the big tag, we first used the p tag to see its enlarged display effect:
#Look, does it also play an emphasis role? This is the usage of the big tag. It is actually very simple.
Do you think you know all the uses of the big tag? NO, its usage is more than that. (If you want to see more, go to the PHP Chinese website html development manual column to learn)
Let’s take a look at the second usage example of HTML big tags:
<!doctype html> <html> <head> <meta charset="utf-8"> <title>PHP中文网</title> </head> <body> <h1>欢迎来到PHP中文网,<big>big</big>标签的使用方法,big在这也有用</h1> <h2>这是<big>big</big>标签,是一个能放大的一个标签。</h2> <h3>这里还是<big>big</big>标签</h3> <h4>这里还是<big>big</big>标签,我们来看看<big>big</big>标签的效果</h4> </body> </html>
We see that I used two big tags in h1, one is not set, and the other is set with a big tag. Let's see if the big tag can also be enlarged in the h1 tag?
Now let’s take a look at the renderings:
The one without a frame does not have a big tag set. The effect is not very obvious, although it is not much big. , but this can be used as the title h1 tag. Except for setting pixels separately on the web page, the h1 tag is the largest tag and the most conspicuous title tag. The big tag can be displayed first among them, and it can also It is a little larger than the h1 tag. It feels like the big tag is more powerful than the h1 tag. However, the h1 tag has its own power. I won’t go into details here, but obviously the big tag is still very useful. The most important thing is that the big tag is supported by all browsers. This is also one of the benefits.
Okay, that’s it for this article about HTML big tags. If you want to see more tags, it is recommended to study in the html study manual column of the PHP Chinese website. Students who have questions can leave a message below.
【Editor’s Recommendation】
The above is the detailed content of How to use big tag in html? Usage examples of html big tag. For more information, please follow other related articles on the PHP Chinese website!