HTML <big> tag (presentational)S2C Home   « HTML <big> tag

Definition

The <big> tag is used for defining a large text style.

Use the CSS font-size property for more fine grained control.

Example


<big>This text will be in larger than normal text.</big>

Required Attributes

NONE

Optional Attributes

NONE

Common Attributes

class - specifies a classname for the element allowing you to apply the style of the predefined class to the content.


<big class="classname">Some text here</big>

id - specifies a unique id for the element allowing you to apply the style of the predefined id to the content.


<big id="idname">Some text here</big>

style - specifies an inline style for the element allowing you to apply the style to the content.


<big style="color:red;text-align:left">Some text here</big>

title - specifies extra information about the content.


<big title="information about the content">Some text here</big>

Language Attributes

dir - specifies the directional flow of the content.


<!-- The text will flow from left to right -->
<big dir="ltr">Some text here</big>

<!-- The text will flow from right to left -->
<big dir="rtl">Some text here</big>

lang - specifies a language code for the content of the element.


<big lang="en">Some text here</big>

xml:lang - specifies a language code for the content of the element in XHTML documents.


<big xml:lang="fr">Some text here</big>

Document Event Attributes

NONE

Form Event Attributes

NONE

Image Event Attributes

NONE

Keyboard Event Attributes

onkeydown - The JavaScript code to be run when an element is in focus and keyboard key is pressed.


<!-- Executes the go() function -->
<big onkeydown="go()">Some text here</big>

onkeypress - The JavaScript code to be run when an element is in focus and keyboard key is pressed down and released.


<!-- Executes the go() function -->
<big onkeypress="go()">Some text here</big>

onkeyup - The JavaScript code to be run when an element is in focus and keyboard key is released.


<!-- Executes the go() function -->
<big onkeyup="go()">Some text here</big>

Mouse Event Attributes

onclick - The JavaScript code to be run when a mouse is clicked on the element.


<!-- Executes the go() function -->
<big onclick="go()">Some text here</big>

ondblclick - The JavaScript code to be run when a mouse is double clicked on the element.


<!-- Executes the go() function -->
<big ondblclick="go()">Some text here</big>

onmousedown - The JavaScript code to be run when the mouse button is pressed down while the cursor is over the element.


<!-- Executes the go() function -->
<big onmousedown="go()">Some text here</big>

onmousemove - The JavaScript code to be run when the mouse button is moved.


<!-- Executes the go() function -->
<big onmousemove="go()">Some text here</big>

onmouseout - The JavaScript code to be run when the mouse cursor moves off an element.


<!-- Executes the go() function -->
<big onmouseout="go()">Some text here</big>

onmouseover - The JavaScript code to be run when the mouse cursor moves over an element.


<!-- Executes the go() function -->
<big onmouseover="go()">Some text here</big>

onmouseup - The JavaScript code to be run when the mouse button is released while the cursor is over the element.


<!-- Executes the go() function -->
<big onmouseup="go()">Some text here</big>

go to home page Homepage go to top of page Top