Html Introduction


#What is html?
-Hypertext Markup language-
First developed by Tim Berners-Lee in 1990…..
HTML is used to create pages that are displayed on the World Wide Web.
Basically tells your browser how to display web pages..
Browser is something like google chrome, firefox etc

#How does html looks like?
HTML consists of a series of elements
HTML elements are represented by tags
HTML tags label pieces of content such as "heading", "paragraph", "table", and so on

#<!DOCTYPE html>
A doctype or document type declaration is an instruction which tells the web browser about the markup language in which the current page is written. The Doctype is not an element or tag, it lets the browser know about the version of or standard of HTML or any other markup language that is being used in the document.

#<html></html>
HTML tags are the hidden keywords within a web page that define how your web browser must format and display the content. ... For example, <html> is the opening tag and </html> is the closing tag. Note that the closing tag has the same text as the opening tag, but has an additional forward-slash ( / ) character.


#<head></head>
Put content here that shouldn’t be shown to visitors
For example link of your style sheets and javascripts files

#<title></title>
The HTML Title element ( <title> ) defines the document's title that is shown in a browser's title bar or a page's tab.

#<body></body>
When writing in HTML, the <body> tag is used to contain a web page's content, including hyperlinks, images, tables, text, etc. It is required in every HTML document, and there may only be one <body> tag per page.


#<h1></h1>
It will usually be the largest text that stands out. There are other header tags in HTML too, like an h2,3, h4, etc h

#<p></p>
The <p> tag defines a paragraph. Browsers automatically add some space (margin) before and after each <p> element.







<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Comments

Popular posts from this blog

Html Paragraphs

Html Elements

Html Headers