Recents in Beach

Learn HTML || Chapter 1



Basics of HTML:

In this course we will learn HTML from Starts to End.

There are some basics of HTML. We will learn all HTML in other chapters on eby one.

So, starts from basics of HTML.

What is HTML?

  • HTML stands for Hyper Text Markup Language
  • HTML is the standard markup language for creating Web pages
  • HTML describes the structure of a Web page
  • HTML consists of a series of elements
  • HTML elements tell the browser how to display the content
  • HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.

Basic HTML Template :-

HTML consist of elenents and attrbutes. There are some basic elements of HTML which are used in every page of website. You can see any webpage HTML by "Right-clicking and select 'view page source'".

These are some basic elements which are used in every webpage :)


<
!DOCTYPE html>

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

<h1>Use for Heading</h1>
<p>Use for Paragraph</p>

</body>
</html>

Expaination of Above Elemets :)

  • The <!DOCTYPE html> declaration defines that this document is an HTML5 document
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the HTML page
  • The <title> element specifies a title for the HTML page which is shown in the page's tab
  • The <body> element defines the document's body.  We will use all our other tags like video, img, dev, section and much more in this tag.
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph

What is HTML Element?

HTML Element can defined as start tag, end tag or closing tag and content of that element.
<h1>Use for Heading</h1>
<h1> => This is called start tag. 
Use for Heading => This is content of that Element.
</h1> => This is called end tag or closing tag.

Every element has opening and closing tags. But there are some elements which have no closing tag line <br>,  <hr>, <link>.

Web Browser :)

The purpose of a web browser (Chrome, Edge, Firefox, Safari) 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

Chapter Summary :-

We have learned about HTML.
We have learned about basic element of HTML that is used in Every webpage.
We have learned about Element.

Next Chapter :-

In the next chapter we will learned about text editor for HTML. 

Post a Comment

0 Comments