Introduction To Web Development

Introduction To HTML?
HTML stands for Hyper Text Markup Language. It is language that is used to create web pages and websites. It gives the information how images and graphs will appear in web browsers. You can see HTML code of any website by right clicking with your mouse and selecting view source or simply press (Ctrl+u) with your keyboard.
What is HTML Tag? 
Tags are special keywords of HTML in which you can define an HTML elements. HTML elements are surrounded by angle brackets which mostly comes in pairs. First tag is known as starting tag and last tag is known as ending tag.  There are two types of HTML tags.

  • Closing Tags 
Closing tag are those which must be close. For example, you want to create a table in your web-page you must have to close it after finishing all required table data
<table>
<tr>
<th>This is table </th>
</tr>
</table>

  • Open Tags
Open tags are those which may not need to close. For example, you want to break the line. You don't need to close it. You can simply use it, like this
<br >
and then cursor moves to the next line.
Tags can also have some attributes that provide the additional information about HTML elements of any website. Tags instruct the  browser to do something, on another hand attributes instruct the browser how to do this. For example, if we want to change the background color of the web page, we add the bgcolor attribute in body tag, such as <body bgcolor="red".>.


Basic Structure of Website
There  are four basic tags that must used in website. These are <html >, <head>, <titile>  and <body> tags. All they perform different operation. HTML tag tell the browser that it is an HTML document. It also indicates the root of Hyper text Markup Language  documents. Head contains all data about title of website, script and style sheet as well as metadata and description and so on. title usually  appears on the top of the web browser when you visit any website
. Body tag contains all documents that appear in web pages, like images, graphs, text, links, tables, lists and so on.
The below table briefly shows the basic elements and the operation they perform.  

Basic Tags of WebsitesFunction They Perform
HTML Defines HTML document
HEAD Defines all header elements
TITLE Defines website title
BODY Define body's documents
Now we take an example of  the basic structure of website.  

<!DOCTYPE HTML

<html>

<head>
<title>This is your title </title>

</head>

<body>
This is your Body
</body>
</html>

This is the basic structure of any website, and other additional things include style sheets, metadata, scripts, lists, tables, texts, contents images and  more. 
In introduction, we have learned about the basic structure of website and basic tags of the web pages. In next lecture we will learn about the body elements, lists in HTML, and tables.
Have you any question about introduction to the web development, feel free to ask anything, still connected to us for more informative posts. Do not forget to like and share this post on social media.
   

Post a Comment

If you have any question related to the above post you can comment below

Previous Post Next Post