HTML Paragraph
HTML Paragraph:
It usually a block of text and paragraph always starts on a new line.
Always include both opening (<p>) and closing (</p>) tags.
Example:
<p>This is a paragraph</p>
<p>This is second paragraph</p>
Output:
HTML Style:
The styles attribute is used to add styles to an element such as color, font, size, background color and many more..
HTML Style attributes:
We can set the style of an HTML element can be done with style attribute.
Syntax:
<tagname style = “property:value;”>
Background color:
The CSS background color property defines the background color for an HTML Element
Example:
Output: