English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML Big Element ( <big>) increases the font size by one level (for example, from small to medium, from large to extra large, from extra large to x-large, etc.).-large) and does not exceed the browser's maximum font size.
Note: This tag is deprecated, since it is purely display, this element in HTML5has been removed and should no longer be used. Instead, web developers should use CSS properties.
Make the text one size larger than the regular font:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Tutorial Website(oldtoolbag.com)</title> </head> <body> <p> This is the first sentence. <big>This whole sentence is in bigger letters.</big> </p> (CSS version) <p> This is the first sentence. <span style="font-size:1.2em>This whole sentence is in bigger letters.</span> </p> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
All mainstream browsers support the <big> tag.
HTML5 Does not support the <big> tag. Please use CSS instead.
The <big> tag is used to create larger text.
Tip:Use CSS to specify text size in the document.
HTML5 Does not support the <big> tag, HTML 4.01 Supports the <big> tag.
In HTML 4.01 The <big> tag supports the following standard attributes:
Attribute | Value | Description |
---|---|---|
class | classname | Class name of the element |
dir | rtl ltr | Text direction within the element |
id | id | Unique id of the element |
lang | language_code | Language code of the content within the element |
style | style_definition | Specifies the inline style of the element |
title | text | Specifies additional information about the element |
xml:lang | language_code | Specifies the language code for the content of the element in an XHTML document |
For a complete description, please visitStandard Attributes.
In HTML 4.01 In, the <big> tag supports the following event attributes:
Attribute | Value | Description |
---|---|---|
onclick | script | Execute script when the mouse is clicked |
ondblclick | script | Execute script when the mouse is double-clicked |
onmousedown | script | Execute script when the mouse button is pressed |
onmousemove | script | Execute script when the mouse pointer moves |
onmouseout | script | Execute script when the mouse pointer moves out of an element |
onmouseover | script | Execute script when the mouse pointer hovers over an element |
onmouseup | script | Execute script when the mouse button is released |
onkeydown | script | Execute script when the keyboard is pressed |
onkeypress | script | Execute script when the keyboard is pressed and then released |
onkeyup | script | Execute script when the keyboard is released |
For a complete description, please visitEvent Attributes.