Find in-depth information about html tags at W3 Schools.
There are a number of tags that are specifically used to display text. The most common are the heading tags and the paragraph tag. Heading tags range from h1 (typically the largest) to h6 (typically the smallest) the exact size, font and color of headings can be set using a style sheet for an entire website, in the head of a page for that web page, or ‘inline’ for a specific instance of the tag. Here are examples of the six levels of heading tag and the paragraph tag. As each of these is a block tag, they will be displayed on a new line in your browser.
<p>Just a little paragraph</p>
formatting for text tags
<p style=””>What’s up with this text</p>
If I put the following styles into the double quotes for styles in the paragraph tag above, I’ll get the followin results.
font-family:”verdana”, Helvetica”, sans-serif What’s up with this text
font-style:italic What’s up with this text
font-weight:bold What’s up with this text
font-size:120% What’s up with this text
line-height:450% What’s up with this text
color:red What’s up with this text
color:#ff0000 What’s up with this text
background-color:#ff0000 What’s up with this text
text-align:center What’s up with this text
Use the tool below to try out some this html.