Learn Online PHP, PHP, online php tutorial - Education Blog
Monday 17 February 2020
Saturday 3 January 2015
What is HTML?
HTML is stands for "HyperText Markup Language" developed by Tim Berners-lee in late 1991 but HTML 2.0 was published in 1995 which was the first standard HTML specification. HTML is markup language which very popular now a days. HTML is mostly used to format web pages by the help of different types of tags available in HTML language. A markup language is combination of html tags and each HTML tags describes different document content.
HTML Tags:-
HTML tags are the HTML keyword which are surrounded by angle ( <, >) tag. For example <p> </p> is a HTML tag which is used for paragraph. First tag (<p>) is known as opening tag and the other ( </p>) tag is called closing tag. The syntax of closing tag is same test as opening tag but it contains a forward slash ( / ). Each HTML tags are in pairs <html> </html>. HTML tag are hidden on the web page and they define that how the browser format and display content of that page.
There are some tags which are an exception to this rule and there are closing tags are not required. For example <br>, <img> tag has no closing tag. Every tag have some specific attributes. Attributes are generally assigned a value using the equals sign, For example border="1" or width="75%", but there are some that only need to be declared in the tag like this: <hr noshade>.
Most attributes are optional for most tags, and are only used when you want to change something about the default way a tag is displayed by the browser. However, some tags such as the <img> tag has required attributes such as src and alt which are needed in order for the browser to display the web page properly.
HTML Files:-
The HTML file is just a plain text file. And it contains many of the HTML tags and the text content which is display on the webpage. The extension of an HTML file is .htm or .html rather than .txt. For making html file you an use your favorite text editor like notepad or notepad++. A website is contains many html file and these files are linked together.
Example:
Here is a basic HTML document, containing all the essential tags which are used in a common HTML document file. You can copy the code below, paste it into your favorite text editor, and save as "index.html" to start your own web page.
<!DOCTYPE html>
<html>
<head>
<title>This is your title</title>
</head>
<body>
This is your body area.
</body>
</html>
HTML is stands for "HyperText Markup Language" developed by Tim Berners-lee in late 1991 but HTML 2.0 was published in 1995 which was the first standard HTML specification. HTML is markup language which very popular now a days. HTML is mostly used to format web pages by the help of different types of tags available in HTML language. A markup language is combination of html tags and each HTML tags describes different document content.
HTML Tags:-
HTML tags are the HTML keyword which are surrounded by angle ( <, >) tag. For example <p> </p> is a HTML tag which is used for paragraph. First tag (<p>) is known as opening tag and the other ( </p>) tag is called closing tag. The syntax of closing tag is same test as opening tag but it contains a forward slash ( / ). Each HTML tags are in pairs <html> </html>. HTML tag are hidden on the web page and they define that how the browser format and display content of that page.
There are some tags which are an exception to this rule and there are closing tags are not required. For example <br>, <img> tag has no closing tag. Every tag have some specific attributes. Attributes are generally assigned a value using the equals sign, For example border="1" or width="75%", but there are some that only need to be declared in the tag like this: <hr noshade>.
Most attributes are optional for most tags, and are only used when you want to change something about the default way a tag is displayed by the browser. However, some tags such as the <img> tag has required attributes such as src and alt which are needed in order for the browser to display the web page properly.
HTML Files:-
The HTML file is just a plain text file. And it contains many of the HTML tags and the text content which is display on the webpage. The extension of an HTML file is .htm or .html rather than .txt. For making html file you an use your favorite text editor like notepad or notepad++. A website is contains many html file and these files are linked together.
Example:
Here is a basic HTML document, containing all the essential tags which are used in a common HTML document file. You can copy the code below, paste it into your favorite text editor, and save as "index.html" to start your own web page.
<!DOCTYPE html>
<html>
<head>
<title>This is your title</title>
</head>
<body>
This is your body area.
</body>
</html>
Subscribe to:
Posts (Atom)
Search
Popular Posts
-
What is HTML? HTML is stands for "HyperText Markup Language" developed by Tim Berners-lee in late 1991 but HTML 2.0 was publish...
Recent Posts
Categories
Unordered List
Pages
Contributors
Powered by Blogger.
Copyright ©
Learn Online PHP - Education Blog | Powered by Blogger
Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com
Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com