| HTML attributes | Description | Example |
|---|---|---|
| id | Identifies a HTML element. | id="example" |
| class | Assigns an element to one or more classes. | class="cars" |
| style | Defines the style of an HTML element (CSS) and can determine the color, font, font size, etc. | style="color: blue; font-size: 2em" |
| title | Contains additional information about the content of an element; this is displayed in a tooltip when the mouse hovers over the element. | title="exampletext" |
| lang | Determines the language of a document. | <html lang="en"> |
| dir | Defines the text’s running direction from left to right or vice versa. | <html dir="ltr"> example</html> |
Search In This Website
Rabu, 27 November 2024
The Most Common HTML Attributes
These following table is the most common HTML Attributes:
Langganan:
Posting Komentar (Atom)
-
These text editor or code editor are need to allow in All file access settings ( Storage Permission for file management ). Code Editor by Rh...
-
1. type this following latex code in Latex editor for drawing a number line: % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode % ...
-
Preparation To Learn Android How To Type Pinyin Tones In Android? GBoard Simplified Chinese Terms Most Simple GBoard CangJie Radical Lists L...
-
## **Notes** * This list doesn’t include every Android editing app out there and doesn't it list all of the editors’ features, but it gi...
-
type this following latex code in Latex editor for drawing a number line: % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode % Dis...
Tidak ada komentar:
Posting Komentar