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.
<table>
<tr>
<th>This is table </th>
</tr>
</table>
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.
Now we take an example of the basic structure of website.
<head>
<body>
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.
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
<table>
<tr>
<th>This is table </th>
</tr>
</table>
- Open Tags
<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".>.
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 Websites | Function They Perform |
---|---|
HTML | Defines HTML document |
HEAD | Defines all header elements |
TITLE | Defines website title |
BODY | Define body's documents |
<!DOCTYPE HTML>
<html>
<head>
<title>This is your title </title>
</head>
<body>
This is your Body
</body>
</html>
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.