Friday, December 4, 2009

Experimenting with HTML

If you want to be a good web developer or just a webmaster with moderate programming skills, HTML is a technology you need to familiarize yourself with. In actuality, HTML is a very simple language, one that ties in code for virtually every website and communicates with every browser in order to display content to the user. Here are a few tips to help you get more familiar with HTML and start comfortably working with the language on your own.
How to Learn HTML
There are a couple of ways you can learn HTML. You can start by obtaining a piece of code from the web, saving it to your computer and doing a little experimenting. Many suggest selecting a simple page, such as your home page and starting with that.
Using a browser such as Microsoft Internet Explorer or Mozilla FireFox, you can view the source code for just about any web page by right-clicking the page and choosing “View Source” or “View Page Source” from the sub-menu. Once the code is visible on the screen, you can then save the entire page by clicking “File”, selecting “Save As” and giving the file a name. You can also highlight snippets of the code, manually insert it into a blank document and then save it. After doing this, you may want to insert the file in a folder to bring organization to your learning project. When opening the page locally, you might notice that some of the graphics are missing because they were not saved with the HTML code. If you want to work with these graphics, go back to the web page, right-click it and select “Save Image.” You can then save it in the same folder you created earlier that contains the HTML file.
Now that you have the web page on your local drive, you can learn HTML by simply observing and editing the code. You can get the results of these edits by keeping the page open in your browser and word processing application. While you could use Word, Notepad is perfectly suitable. If your browser is equipped with tabbed viewing, open a new tab for the project so you can go back to the original document on the web. You may also want to arrange things where both the browser and Notepad windows are positioned where you can easily see both. After making edits in the Notepad HTML file, save it and then refresh your browser. The Notepad window will minimize automatically and give you just enough time to view the changes in the browser display.
Conclusion
This article is not intended to act as an HTML tutorial . Rather, we just want to express that the language is easy to work with and can be mastered by anyone who is willing to learn. Most programmers learn HTML through trial and error. With a little patience, you can do the same.

0 التعليقات:

Post a Comment