Learn some basic HTML coding

Learn some basic HTML coding

Learn some basic HTML coding

HTML is still the backbone in web development because we still need to use HTML codes in most of frameworks. Also customization becomes easier with HTML codes. So, in this article we will study about some basic codes on HTML, these codes are used most.

First we look up to the basic structure of HTML website;













This is the basic structure of html, here everything starts like <head> and then the content inside head and the closing tags are like </head>. Most of the html codes are ends like this except few.

Head tags contains the information of the site like title, description, keywords, meta tags etc.

Your complete website codes come with in the body tags. And also don’t forget to end the html tag which you started in very beginning.

Different meta tags comes inside the head section and that are look, but before meta tags you need to specify your website title in head section, which is looks like this;


<title>Your website title here</title>

<meta name=”url” content=”yourwebsiteurl.com” />

<meta name=”keyword” content=”your website keywords comes there on which your want to show your website or rank you website” />

<meta name=”description” content=”here comes the short description of your website, this description shows up in google so be efficient towards this.” />

<meta name=”author” content=”Here you can writer your name or your firm name.” />

You also need to specify your language in this head section, like;

<meta http-equi=”content-type” content=”text/html;charset=ISO-8859-1” />

If you’re writing in English, then you can copy and paste this code line.

When you code a website then you will also code CSS or Cascaded style sheet for that website, CSS define the layout and design, colouring etc of website, we will discuss that in further articles.

So to connect a CSS file with this html coding you need to add a code line in the head section and that looks like.

<link rel=”stylesheet” type=”text/css” href=”styles/style.css”>

href contains the path of the style sheet file and also don’t forget to add the extension (.css).

And after doing so, don’t forget to close the html tag, like;


So, this is the basic introduction of coding in the head section and we will make you more clear about different head coding and other body coding in further articles, if you find any difficulty in your coding then feel free to comment below our support technician will guide you through the way.

Happy coding

  • Was this Helpful ?
  • Yes   No

Leave a Reply

Your email address will not be published. Required fields are marked *