HTML (part 3)

691 11 1
                                        


Always remember!

The STARTER TAG: <html>

The END TAG: </html>

FILE EXTENSION : _________.html

Basic HTML Structure 

<html>

         <head>

                   <title>website title</title>
         </head>
                  <body> content of website ... </body>

</html>


Common Tags for Blogs

<h?> heading </h?>  Heading (h1 for largest to h6 for smallest)

<p> paragraph </p>Paragraph of Text 

bold Make text between tags bold 

italic Make text between tags italic

<a > link name </a>   Create a link to another page or website

<div> ... </div>Divide up page content into sections, and applying styles

<img src="filename.jpg">Show an image

<ul> <li> list </li> </ul>Unordered, bullet-point list

<br>Line Break (force a new line)

<span style="color:red"> red </span> Use CSS style to change text colour



Text Formatting
<h?> ... </h?>Heading (?= 1 for largest to 6 for smallest, eg h1)

<b>...</b>Bold Text

<i>...</i>Italic Text

<u> ... </u>Underline Text

<strike> ... </strike>Strikeout

<sup> ... </sup>Superscript - Smaller text placed below normal text

<sub> ... </sub>Subscript - Smaller text placed below normal text

<small> ... </small>Small - Fineprint size text

<tt> ... </tt>Typewriter Text

<pre> ... </pre>Pre-formatted Text

<blockquote> ... </blockquote>

Text Block Quote<strong> ... </strong>

Strong - Shown as Bold in most browsers

<em> ... </em>Emphasis - Shown as Italics in most browsers

<font> ... </font>


I hope this page may help you :) 

Always use your imagination and critical thinking skills

Font tag obsolete, use .


Definition of terms: 

CSSCascading Style Sheets , CSS describes how HTML elements are to be displayed on screen, paper, or in other media

HTML -  Hyper Text Markup Language , describes the structure of Web pages using markup

Markup Languages - computer language that uses to define elements within a document. 

URL Uniform Resource Locator




You've reached the end of published parts.

⏰ Last updated: Aug 22, 2017 ⏰

Add this story to your Library to get notified about new parts!

What is Programming?Where stories live. Discover now