First thing in this “web world” I learned, it was HTML, and editor I used was just a Notepad (which you find in your Windows PC). Later on I learned CSS. After much experience with Notepad, I used Dreamweaver. And later on kept on learning many programming languages like ASP, ASP.NET, and PHP. Even you don’t want to become a programmer, or don’t want to build some software — HTML is so commonly used everywhere these days, it is a basic and the most essential thing to know.
Most of bloggers, writers or people who are engaged in social media, know HTML — it helps them linking things from one page to another webpage and many aspects of SEO (to draw traffic).
Even if you don’t want to become anything and have plenty of time, perhaps you are a housewife, a student or an unemployed person; learning something, like HTML, will surely make your time useful.
So here we go, after knowing little bit about HTML and its history, you can make your first HTML webpage within few seconds.
HTML & its history
HTML stands for Hypertext Markup Language, in simple words it is used to write “web content,” it is not a programming language as such, people who know HTML are called authors, or say it is a great tool for the authors to write web content.
In a web-page there is generally a heading, sub-headings, tables, text, fonts, colors, images, audio and video — it is all done by HTML.
When I learned HTML , I just learned it by creating a html page, I didn't bother about its history — I just focused what was working in the “now,” ‘coz the things which didn’t work, what was the point to know them in detail (unless there was some interview need).
Currently, it is HTML5. Earlier versions were HTML 4.01, XHTML 1.0, XHTML 1.1 and XHTML 2.0 (I’m not much of a historian).
New changes
> HTML5 is case insensitive language, you can write HTML Tags in upper or lower case or mix of both — but it is advisable to be consistent in writing style, ‘coz it looks cleaner and tidy.
> You may remove closing slash from a single element such as “hr” and “br” elements: instead of writing <hr/> and <br/> — you may write <hr> and <br>.
> There are lots of good and new changes in HTML5, which we check later on.
Your First Webpage
In writing a HTML page everything comes in between <html> </html>; and for writing a paragraph, the paragraph comes between <p> and </p>, and the next paragraph comes between <p> and </p>.
So to write this web page, open Notepad in your Windows PC. This Notepad is a “text document” which you get by Right Mouse Click > New > Text Document. And in that “text document” just paste the following:
<html>
<p> this is my paragraph </p>
</html>
Now, at “text document” go at File > Save As. Now write “Filename” as hello.html; and at “Save as type,” turn it to “all files,” now click “save.” Your file will be saved as hello.html. Now double click on it and see your first webpage. If you have any doubt or confusion, please see the following video.
https://www.youtube.com/watch?v=tOrGclRYEj0
Try it out
I’ve left many things intentionally in the above example, you may add following things.
<html>
<head>
<title> This is title </title>
</head>
<body>
<p> this is my paragraph </p>
</body>
</html>
Between <html> </html> tags come two main tags — <head> </head> and <body> </body>. Between <head> and </head> comes “title of the page”; and between <body> and </body> comes everything, like headings, paragraphs, tables, images, audio and video.
Later you will know everything, little by little.
Comments
Post a Comment