Professional Documents
Culture Documents
=====
HTML stands for Hypertext Markup Language.
It is widely used language on web to develop web pages and web applications.
A tag can have multiple attributes but each attribute must be seperate with space.
ex:
<body bgcolor="value" background="value">
Note:
----
We can't create custom tags in html.
HTML5 skeleton
==============
<!DOCTYPE html>
<html>
<head>
-
- head related tags
-
</head>
<body>
-
- body related tags
-
</body>
</html>
Note:
-----
A <!DOCTYPE> represent a HTML document.
A <!DOCTYPE html> represent a HTML5 document.
<html> tag
----------
It is a root tag for entire HTML document.
<head> tag
--------
A <head> tag is used to declare following things.
ex:
Title of a web page
Favicon
metadata
styles
scripts
<body> tag
----------
A <body> is used to declare actual content of a web page.
ex:
<img> tag
<form> tag
<table> tag
and etc.
ex:1
----
<!DOCYTPE html>
<html>
<head>
</head>
<body>
Welcome to HTML classes
</body>
</html>
ex:2
---
<!DOCYTPE html>
<html>
<head>
<title>IHUBTALENT</title>
<link rel="icon" href="logo.png">
</head>
<body>
Welcome to HTML classes
</body>
</html>
ex:3
----
<!DOCYTPE html>
<html>
<head>
<title>IHUBTALENT</title>
<link rel="icon" href="logo.png">
</head>
<body bgcolor="cyan">
Welcome to HTML classes
</body>
</html>
ex:4
----
<!DOCYTPE html>
<html>
<head>
<title>IHUBTALENT</title>
<link rel="icon" href="logo.png">
</head>
<body background="logo.png">
Welcome to HTML classes
</body>
</html>