English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Der HTML-Big-Element (<big>) macht die Schriftgröße um eine Nummer größer (z.B. von klein (small) bis mittel (medium), von groß (large) bis加大(x-large) und nicht größer als die größte Schriftart des Browsers.
Bemerkungen: Dieser Tag ist veraltet, da es ein rein visuelles Element ist, wird dieses Element in HTML5Wurde entfernt und sollte nicht mehr verwendet werden. Stattdessen sollten Webentwickler CSS-Attribute verwenden.
Machen Sie den Text eine Nummer größer als den Standardtext:
!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Grundlagen-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>Testen Sie es heraus ‹/›
IEFirefoxOperaChromeSafari
Alle gängigen Browser unterstützen den <big>-Tag.
HTML5 Der <big>-Tag wird nicht unterstützt. Verwenden Sie stattdessen CSS.
Der <big>-Tag wird verwendet, um größere Texte zu erstellen.
Hinweis:Verwenden Sie CSS im Dokument, um die Textgröße zu bestimmen.
HTML5 Der <big>-Tag wird nicht unterstützt, HTML 4.01 Der <big>-Tag wird unterstützt.
In HTML 4.01 In diesem Fall werden die folgenden Standardattribute des <big>-Tags unterstützt:
Attribute | Value | Description |
---|---|---|
class | classname | Klassenname des Elements |
dir | rtl ltr | Textausrichtung im Element |
id | id | Eindeutige ID des Elements |
lang | language_code | Sprachcode für den Inhalt der Elemente |
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 leaves 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.