HTML Basics Flashcards
Learn the basics of HTML
HTML Stands for
HyperText Markup Language
HTML One Liner
Hypertext and Markup language. Hypertext defines the link between web pages. A markup language is used to define the text document within the tag which defines the structure of web pages
HTML founder
Tim Berners-Lee in 1991
HTML founder
Tim Berners-Lee in 1991. The first-ever version of HTML was HTML 1.0, but the first standard version was HTML 2.0, published in 1995.
HTML structure
<DOCTYPE! html>
<html>
<head>
<body>
</body></head></html>
<DOCTYPE! html>
Document type declaration is an instruction that tells the web browser about the markup language in which the current page is written
<html>
</html>
Define the root element of HTML document. This tag tells the browser that it is an HTML document
<head>
</head>
Define the head portion of the HTML document that contains information related to the document. Elements within the head tag are not visible on the front-end of a webpage
<body>
</body>
Enclose all the visible content of a webpage. In other words, the body content is what the browser will show on the front end.
<style>
</style>Allows us to insert styling into our webpages and make them appealing to look at with the help of CSS.
<title>
</title>
The title is what is displayed on the top of your browser when you visit a website and contains the title of the webpage that you are viewing
<base></base>
It specifies the base URL for all relative URL’s in a document
<noscript>
</noscript>
Defines a section of HTML that is inserted when the scripting has been turned off in the users browser
<script> </script>
This tag is used to add functionality in the website with the help of JavaScript
<meta></meta>
This tag encloses the meta data of the website that must be loaded every time the website is visited. For eg:- the metadata charset allows you to use the standard UTF-8 encoding in your website. This in turn allows the users to view your webpage in the language of their choice. It is a self closing tag
<link></link>
The ‘link’ tag is used to tie together HTML, CSS, and JavaScript. It is self closing
Advantages and disadvantages
Advantages:
HTML is used to build websites.
It is supported by all browsers.
It can be integrated with other languages like CSS, JavaScript, etc.
Disadvantages:
HTML can only create static web pages. For dynamic web pages, other languages have to be used.
A large amount of code has to be written to create a simple web page.
The security feature is not good.
Who works on HTML Development
Web Hypertext Application Technology Working Group (WHATWG)