Sunday, 22 July 2012

How can HTML aid your website?


How can HTML aid your website? Well that's practically easy to answer; it is important and helpful to your website because it is its basic structure. Imagine a fish; if it doesn't have bones inside it how can it swim? That is also applicable in a website, without HTML is cannot operate or there wont be a website at all.
What is HTML? HTML is a special language made up of codes or commonly called as "tags", as we all know computers can only understand binary code and HTML translates human language into computer language for the computer to know what particular job you want it to execute.




 As of now there are 2 types of HTML language you can use the standard one is the HTML 4.0 that has been used since the 1990's and the new breakthrough which is HTML5 (it is still a work in progress). They both have the same specific code but with HTML5 there is more freedom for creativity and there are some new elements introduced for the general public to enjoy.
An example of a basic HTML tag is:
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
This will result in:
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
and
<html>
<body>
</body>
</html>
This is a basic example of a tag or code that is used to determine what type of font used, the size, and the color, the images, and many more. The tags that you will be using will affect the entire outcome of the page. HTML supports programming languages that can be used in any other program examples of these are PHP, and CSS or (cascading style sheets).
HTML is supported by most of computer users around the world. It is easy to understand and also easy to learn. 90% of websites and pages are created with HTML, HTML components combined with other programs to enhance and build a more dynamic website.
That's that for HTML4.0 now let us now tackle the benefits and advantages using HTML5, This is still a program that is under observation. But since its release it has made the news about its newest elements which are the canvas element, video and audio embedding, geolocation, and offline attributes.
1. Canvas element - this is where you can drag and drop or even draw your own creative art to use for your website or page. Where you can draw graphs, make photo compositions and do simple animations.
2. Embed Video and Audio - Before HTML5 it was relatively impossible to embed video and audio files in a website or page without the help of plug-ins like Apple QuickTime and Flash. But now thanks to HTML5 it is possible and is intended to be a standard procedure for website design.
3. Geolocation and Offline services - Geolocation is a reliable way to pin-point the user's location we often see this technology utilized by Facebook. And Offline services, even if you are not connected to the internet you can still access your emails and information.

No comments:

Post a Comment