SkillSeevaSkillSeeva
HomeResourcesScheduleRoadmapTeam
Back to Categories
Current Path
HTML5
Introduction & BasicsHTML ElementsAttributesHeadings & ParagraphsStyles & ColorsLinks (Anchors)Images & ResponsiveTablesListsBlock vs InlineClasses & IDsForms & Input TypesSemantic HTMLMeta Tags & SEOVideo & AudioPerformance OptimizationAccessibility (ARIA)Web APIs (Geo, D&D)
Jump to topic:
Introduction & BasicsHTML ElementsAttributesHeadings & ParagraphsStyles & ColorsLinks (Anchors)Images & ResponsiveTablesListsBlock vs InlineClasses & IDsForms & Input TypesSemantic HTMLMeta Tags & SEOVideo & AudioPerformance OptimizationAccessibility (ARIA)Web APIs (Geo, D&D)

Styles & Colors

The HTML style attribute is used to add styles to an element, such as color, font, size, and more.
html
<p style="color:red;">I am red</p>
<p style="font-size:50px;">I am big</p>
<body style="background-color:powderblue;">
5 / 18