HTML is a language used on the internet mainly for the structure and content of websites. But used in nearly every website. After going through this tutorial called, Introduction to HTML programming for beginners you can easily create an HTML document. Hopefully by the end of this tutorial you will have a good understanding of the structure of HTML. you will not be an expert, but you should have good knowledge of essentially how HTML works. Then you can build on and progress from there.
Introduction to HTML Programming
HTML is made up of tags. Tag is how HTML defines different areas and sections of the document. a web browser would read and interpret the code essentially. So the first tag you need in HTML is simply the HTML tag (see below image).
Most tags in HTML need opening and closing. See up here we’ve got the opening HTML tag simply the word HTML in between greater than and lesser than symbols and then we’ve got the closing HTML tag which is nearly the same of course with a forward slash put in there and that’s defined a closing tag so everything in this particular HTML file will now go in between these tags. Within the HTML tags we have two sections. we have the head section, so we have an opening and closing head tag. And we have body section, so we have an opening and closing head tag
<html>
<head>
</head>
<body>
</body>
</html>
this is simply the the basis and the basic structure of an HTML file. The head section contains information about the page. The body section contains the actual content which is displayed to the user.
<html>
<head>
<title>page name</title>
</head>
<body>
</body>
</html>
here in the head section we included a title tag which will shows on the tab of our browser. (please refer below image containing title bar of a browser).
we will discuss more vital part of the tutorial in the next lesson. Click here for next lesson.