Skip to main content

Posts

Showing posts with the label basic HTML document structure

HTML Tutorial 2: Basic Parts of HTML Document

In my previous post, I started writing about HTML. As it was the first tutorial of HTML, I just showed you the example of an HTML document without giving detailed information of that document.  In this post, I'm gonna discuss about the essential parts of an HTML document. Essential parts mean those parts which are very common for each and every HTML document. I mean the HTML tag, the Header, the Title and the Body.  Before you start, please have a look at the HTML Tutorial 1 if you haven't go through this already.  After reading the tutorial 1 look at the image below: Here you can see all the four parts that I used in the example document . Let's what are they actually: The HTML Tag: <html> Every HTML or XHTML document start with <html> tag and ends with </html> tag. Even if you right click on this page and hit on view source/ view page source option you will see the html of this post. At the top you...

HTML Tutorial 1: Creating a Simple HTML Document

If you're regular in this site, you should know I am not a programmer. Several times, I've mentioned that I'm a person with no programming knowledge. Even my HTML knowledge is not good enough. Just few days ago, I decided to enrich my knowledge on HTML. I will publish HTML lessons for you. Thus you will be also learning HTML with me! Whenever I learn something about HTML, I will publish it here.  I'm not gonna discuss about the history of HTML. Hope you all know that HTML- Hypertext Markup Language. Whatever you see on your browser when visiting any site, your browser shows it through HTML. You can easily view what a website includes. Do as below: Open any website in your browser.  Right click on it.  A menu will appear. Click on View Source/ View Page Source.  A new window will open with the HTML of that website. You will see thousand lines codes! This is how your browser see a website.  Today I would like to start with an ex...