Learning HTML from experience
76
Best way to Learn HTML
To design a website you need to know HTML , which stands for Hyper Text Markup Language, is the basic building-blocks of webpages. If you don't know HTML, take a class on basic html or view video lectures to learn basic html syntax, which is in fact a prerequisite of designing a website.
Once you have some basic knowledge about html, and you are a little familiar
with the syntax of it, you can actually build a website by just trying
out different thing with html,and learn html on your own.
This hub is actually for the people who don’t know much about web designing,web development & html etc . You just need to know very basic syntax of html for creating a website.
keep experimenting
As experimenting is the best way to learn html. having said that you don't need to take a class to learn HTML, you just need to get html codes of different websites, and start experimenting on them. Once you do that, you'll find many unfamiliar modules and and code lines within that code. If you don't know the purpose of a module or a code line, just remove it and then see what change does it make.
Here's an example lets say you've opened html code of a website and found this in it
<link href="office-index_files/default.css" media="all" rel="stylesheet" type="text/css">
If you're not an expert of html ( and thats exactly my assumption), you wont recognize it. but if you remove this code your webpage will look more like a text document. So what this code does?
you’re including an external css file “default.css” through this code. Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document (webpage).(Wikipedia)
CSS is designed primarily to enable the separation of document content (written in your sample webpage in HTML ,XML etc) from document presentation, including elements such as the layout, colors, and fonts. So basically once you remove this code, your webpage will no longer contain its format, layout, text & background colors and style etc.
and
you’ll see this css file will be in the documents attached with your webpage
downloaded in a folder separately along with your webpage. This is just one
example of how you can learn HTML from experimenting. experimenting is actually the best way to learn html.
You can try similar things
with other modules and line codes, and see what does it do. It will help you in learning html
Using Internet as a learning tool
But if you still want help on what a particular html code segment or code block do, you can always find help on the internet, regarding some specific html codes , html tags, etc and their purpose.
How to Create a website?
If you have never created a website using html code, you need to start experimenting on html codes of some sample website. One very good thing about html is that it is a very flexible and easy language. You never end up with a web page saying :code error , syntax error or similar messages.
As I’ve said, start with a sample html code, try to change different things in it, edit the text of the site, change different things i.e colors of borders , text & backgrounds just by changing the hex codes for different colors. You can change most of the websites content even if you do not know the purpose of a particular block, a script or a code, because html code has an English like syntax. One can understand the purpose of an html code block just by reading it i.e <meta name="keywords" content=" how to html ">
In this line of code you can see it says keywords, and in html, data after=” is usually editable, so you can guess it is a tag for the search engines to know the keywords of this webpage.
If you are having difficulties, you can always consult your friend "the internet". You can always find help on the internet, regarding some specific html codes, html tags, etc and their purpose. So start html without taking a class for it and create a website.










