Html Styles
Html Styles : For Styling the style attribute tag is used. Style attribute basically provides the styling to the html elements.
Html Styles
Example
<!DOCTYPE html> <html> <head> <title>Title</title> </head> <body> <p style="color:red;">This is paragraph 1.</p> <p style="background:yellow;">This is paragraph 2.</p> </body> </html> |
Advertisements
Add Comment
📖 Read More
- 1. Html Formatting
- 2. Html bold tag
- 3. Html strong tag
- 4. Html Italic Tag
- 5. Html mark tag