HTML - Introduction
Getting Started - tools of the trade
To get started with html at a basic level you need bare minimum essentials as follows:
- An HTML Editor - Microsoft Notepad or Notepad2. Notepad2 being this author's favorite tool
- A Browser - to view results of your newly created web pages. Choice of browser is an end user decision.
- Hosting platform - You will need a place on web to host your web pages somewhere on the internet. This is also where it starts to get tricky, i.e. choosing your hosting provider.
Well choosing hosting company was just one piece of the puzzle you will also need a domain name (URL for your web site ) for your web site else you can post pages on shared domains. Again this all depends upon how you need others to perceive your web pages.
Hyper Text Markup Language - HTML
A Web page defined by HTML is a collection of visual elements such as words, paragraphs, lists, tables, images, etc. HTML acts like glue that holds these different elements together is a structured manner using variety of tags.
Each tag may have a set of attributes that modify the appearance or layout of the visual elements.
Basic HTML Code Structure
Given below is an example of a simple html code. You can cut-n-paste the below example and save as an .html file and view it in a web browser.
<html lang="en"> <head> <title>Hello World</title> </head> <body> Hello World!!!! </body> </html>
This is how it will appear in a web browser
Setting Background color
this is another cool test to set html document background color and font color
<html lang="en"> <head> <title>Hello World</title> </head> <body bgcolor = "yellow" text = "purple"> Hello World!!!! </body> </html>
This is how it will appear in a web browser