css class 7
css class 7
In-Line Style:
This method applies styles directly to HTML elements using the style attribute.
Example:
Tip: It’s not efficient for large projects because styles must be repeated.
2. Text Properties:
3. Font Properties:
Font Family: Defines the typeface (e.g., Arial, Times New Roman).
4. Margin Properties:
5. Border Properties:
Border Style: Can be solid, dotted, dashed, double, groove, ridge, inset, outset, etc.
Border Color: Sets the border color using color names, RGB, or hexadecimal values.