Recents in Beach

1:Introduction to HTML in 10 mins....Learn HTML in 10 mins

 Introduction to HTML




What is HTML?

  • HTML stands for HyperText Markup Language.
  • HTML is the standard Markup language for creating web pages.
  • It describes the structure of the web-page.
  • It consists of elemental series.
  • HTML guides the browser on how to display the content on the web page in an organized manner.


A Sample HTML code:

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

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>


Explanation of the sample code:

  1. The <!DOCTYPE html> declaration tells that the following document is HTML5 document.  
  2. The <HTML> element is the root element of an html page.
  3. The <head> element contains the meta information about the HTML page.
  4. The <title> element defines the title for the HTML page ( which is shown in the browser's title bar or in the page's tab)
  5. The <body element defines the document's body and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
  6. The <h1> element defines a large heading.
  7. The <p> element defines a paragraph.


What is an element in HTML?

An HTML element is defined by a start tag and an end tag with some content in between both the tags:

<tagname>  Content goes here... </tagname>

The HTML element in everything from the start tag to the end tag:

<h1My First Heading </h1>

<pMy First paragraph </p>

START TAG

ELEMENT’s CONTENT

END TAG

 <h1>

My First heading

</h1>

<p>

My first paragraph

</p>

<br>

None

None


Web Browser : 

The purpose of a web browser (Chrome, Edge, Safari, Mozilla firefox) is to read HTML documents and display them correctly.

A Browser does not display the html tags but uses them to determine how to display the document:




Post a Comment

3 Comments

  1. very informative thanks...

    ReplyDelete
  2. liked it very much....truly helpful for beginners...thanks

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete