Skip to main content

Main HTML tags

Image result for HTML

Hello, welcome back. In my last blog, I told you the basics of HTML. Now, I am going to go into a little depth about each tag in HTML.

HTML tag

HTML tag is the first tag to be written. It opens the document and is the most essential. It is a container tag that ends as the last tag to be closed. 

Head tag

The head tag is the second container tag. It specifies the heading of the document. It can be left out but it is still useful.

Heading size

To specify the size of the heading, we use the <h1>, <h2>, <h3>, <h4>, <h5> and <h6> tags. <h1> is biggest and<h6> is the smallest. It is a container tag. 

Title tag

The title tag is another tag that is used inside the head tag. It specifies the text to be written on the title bar of the web browser. It is a container tag. Again, it can be left out.

Body tag

The body tag tells where the real content of the webpage starts. It is the last main tag. It is a container tag. The main tag is <body>, but there are many things that can also be put in this tag. Two are mentioned here.

Background colour

The background colour depicts the colour of the page. The syntax is bgcolor="whatever colour". Keep in mind that the American spellings of colour will come, only "color" works.

Font align

You can align font on the webpage. You can align as left, centre and right. The syntax is align="whatever alignment". If you choose centre, write "center", not centre, because it wouldn't work.

After you are done with all the coding, you must close all these tags.


Image result for html coding

Thank you for reading. Stay tuned to find out more!

Please comment! (I really need them...) 

Comments

Popular posts from this blog

Introduction to storage devices

WHAT IS A STORAGE DEVICE? A storage device is a device on which data can be stored. A very common example is a USB memory stick, or simply, a USB. TYPES OF STORAGE DEVICES Magnetic storage devices A magnetic storage device is a storage device that stores data using tiny magnetised dots. These dots are created, read and erased using tiny electromagnets. Examples: Hard disk (magnetic disc) magnetic tape floppy disc etc... Optical storage devices An optical storage device is a storage device that stores data using a laser beam. Holes are formed in the storage medium (device) that are read using a laser beam. Examples: CD disc DVD disc Blu-ray disc etc... Solid-state storage devices A solid-state storage device is a storage device that stores data using no moving parts. It uses flash memory. This is the same tech used in USBs. Examples: USB memory stick Smart cards SD cards etc... Thank you for reading. Stay tuned to find out more! Ple...

Basics of HTML

HTML HTML is a markup language designed to create webpages and websites. It stands for H yper T ext M arkup L anguage. It is non-case sensitive, which mean <HTML>, <HtMl>, <html> and <HtmL> are the same thing. In this blog, you will learn the basics of HTML. We need a software to write the codes. There are two types, WYSIWYG editors and text editors. WYSIWYG editors are based on what we see. WYSIWYG stands for W hat Y ou S ee I s W hat Y ou G et. Text editors need HTML tags. We will be using notepad which is a text editor. It does not need to be installed, it is built-in every computer. See (Win 7) Start > All programs > Notepad. Its icon looks like this:- HTML tags HTML is a language based on tags. A tag is a keyword within angle brackets. For example, an HTML tag will be written as <HTML>. There are two types of tags, container tags and empty tags. A container tag has a start AND an end, but empty tag has only the start.<Body...