Explaining HTML and Introduction
What is HTML?
- HTML standard for Hypertext Markup Language is used to create document on the world wide web W3.
- HTML is a markup language not a programming language.
- HTML is to provide a standard way to describe information on the web so that it can be displayed and accessed by web browsers (such as chrome, Internet Explorer and Mozilla Firefox).
- Table tags, font tags, form tags, img tag,a tag, and many other HTML tags are used to create structured documents with an attractive layout.
- The HTML Language can also be extended with other languages such as Cascading Style Sheets (CSS) or JavaScript (js).
- HTML comes CSS which out which HTML looks like bones, hence CSS are the Flesh using HTML.
- Mainly the structure of HTML is, first we will be started by <html> tag and <head> in that <title> and<body> tag. We can close the tags by the ‘/’ symbol like</html>,</head>,</title> and </body>.
Advanced Usages
- Deploy your documents with heading, text, forms, tables, list, photos and videos etc...
- To Redirect another page via hypertext links, at the click of a button.
- Include spread sheets, image clip, file , iframes,video clips, sound clips and other applications directly in their documents
Some Important point :
- HTML is Markup language not a programming language.
- HTML files are written in ASCII text.
- HTML is case-insensitive language.
- Attributes used only along with the elements tags.
- It's run any web browser
How to run HTML File:
HTML in any editor(notepad,notepad++ etc.) we write the html code after writing html code save with .html (EX. save it a file name.html)extension in your Pc.
Ex Syntax:
<!DOCTYPE html>
<html>
<head>
<title>HOME | HP KINGDOM</title>
</head>
<body>
<h1>WELCOME TO HPKINGDOM</h1>
<p>To learn HTML</p>
</body>
</html>
And click to open that file we can see HTML page in web browser(chrome). Now CSS3(latest version) and HTML5 both works together. For Responsive use Bootstrap 5.
Html tags:
- HTML tags are usually called HTML tags.
- HTML tags basically come in pairs like <head> and <\head>.
- The first tag in a pair is be start tag the second tag is the end tag.
- Start and end tag are also called opening tag closing tag. Tags are used to represent various element of web page like header, footer, title, images and ect...
Tags are two types:
paired tags
singular tags
Most used tags:
html,title, body, link,script, h1 to h6, span, p, br, hr, table, form, input, button, a, img etc...
Advantages of HTML:
- First advantages widely use.
- Easy to learn and use.
- Every browser support HTML language.
- It is by default in every window so you don't need to purchase extra software.
Disadvantages of HTML:
- It can create only Static and plain pages. So if we need dynamic pages than. Html is not useful.
- Security features are not good in HTML.
- If we need to write long code for making a web page than it procedure some complexity.