Day 1: What is HTML? , Webpage, HTML Elements, What are Tags?

 What is HTML?

  • HTML stands for Hyper Text Markup Language. 
  • It is used for  building Web pages in HTML.           
  • It explains how a Web page is put together overall.       
  • There are many elements in HTML. 
  • HTML elements give browsers instructions on how to display content.    

 

Webpage

  • A web page on the World Wide Web is a hypertext document.     
  • A web server sends web pages to the user, who then sees them on a web browser.       
  • Numerous web pages connected by a similar domain name make up a website.

 

HTML Elements

  • A type of HTML document component, or HTML node, is known as an element.The HTML document is composed of a tree of simple HTML nodes, such as text nodes. 
  • They add formatting to several parts of the document where applied. 
  • Every element can have it’s own attributes(additional properties) :     

<Name of tag> some text, image etc.</Name of tag> 

Examples of some HTML elements. 

<p>Paragraph 1.</p> 

<h3>Heading</h3>

 

What are Tags? 

HTML tags are composed of three things: an opening tag, content, and an ending tag. Some tags are unclosed tags. An HTML document is viewed by a web browser from left to right and from top to bottom. In order to generate HTML documents and render their characteristics, HTML tags are used.. Each HTML tag has different properties.
Syntax:
<h1> content </h1>

Comments

Popular posts from this blog

else-if condition in if-else statements: Concatenation in JavaScript :

Day 9: CSS - Font Formate

Day 28: CSS Animation, CSS Transition Animation Box size