HTML Online Tools Useful Online Tools for Webmasters

HTML paragraph tag

A paragraph is a container for your text, it has by default a blank line before and after the content. A paragraph must only contain inline content.

Usual attributes

Attribute name Attribute value
class Set a value for CSS rules. The CSS rule will be applied to all tags with the same class name
id Set a unique value, it is useful for JavaScript or for CSS rule. For CSS it will be applied only for this tag
style Set a CSS value. It has always priority for general CSS rules. Sample : "background-color:red;color:white"

Example

Preview


-- Try our Visual HTML Editor --