HTML: Styling your Text

These are some HTML tag elements that can be used to input specific kinds of text on your HTML document.

TAG DESCRIPTION
<h1> - <h6> To be used for headings. <h1> provides the biggest size of text for a heading. The lower you go on the numbered size of the heading, the lesser the size of the text will be. Use lower-sized headings for subtitles.
<p> To create generic paragraphs. This is one of the most commonly used HTML tags.
<blockquote> To quote text that comes from external material such as articles, blog posts, quotes, etc. This tag element by itself cannot contain text, it must be used by holding another tag element inside it which allows text to be written inside of it. For example, you can use the <p> tag for this. You can also use the attribute cite=”www.dedarwin.net” within the <blockquote> tag element to cite information that comes from another website.
<q> To use for short quotations, you can also use the attribute cite=”Darwin is a sunny city” to cite a short quotation that comes from another website.
<em> Used to emphasise text (differentiate it from the rest of the text).
<i> Used to display text in italics.
<b> Used to display text in bold.
<small> Used to display text in a “small” size. This tag element is useful for text that is usually display in small print such as legal restriction, copyright notices, licensing  information, etc.

 

write12Example

<blockquote cite="www.dedarwin.net/">
<p>This is a great webpage where you can learn coding!</p>
</blockquote>