Tuesday 24 November 2015

HTML Code

HTML Code

Hello and welcome to my blog on HTML. I am going to introduce you to what HTML is and describe briefly how it works on webpages on the World Wide Web.  
 
HTML (Hypertext Markup Language) is the set of codes inserted in a file intended for display on a World Wide Web browser page. Every webpage you look at is written in a language called HTML. You can think of HTML as the skeleton that gives every webpage structure.
 
Below is an image of simple HTML Coding:

Simple HTML Code
 
As you can see from the image above:
  • All HTML documents must start with a type declaration: <!DOCTYPE html>
  • The HTML document itself begins with <html> and ends with </html>
  • The visible part of the HTML document is between <body> and </body>7
HTML Headings
Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. HTML headings are defined with the <h1> to <h6> tags.

Below is an image showing different headings available:
Sample of Headings
 
HTML Paragraphs
The paragraph element breaks text into paragraphs. Any text that you surround with a <p> and a closing </p> becomes a separate block. HTML paragraphs are defined with the <p> tag.

Below is an image showing a paragraph:
Sample of a Paragraph
The three stages above show you basic rules on how to use HTML code in order to create a webpage. Check out my later blogs which demonstrate how to use more complex HTML techniques!

No comments:

Post a Comment