Skip to main content

BASIC STRUCTURE AND GENERAL ABOUT HTML BY RONASH

 A Basic HTML Page



<!doctype html>                                   specifies this is an html 5 doc
<html>                                                  root of an html page
<head>                                                  content page meta data
<tittle>roshay</tittle>                           contains tittle
</head>
<body>                                                 the main body of the page
<h>this is a heading</h>                      heading tag
<p>this is a paragraph</p>                  paragraph tag
</body>                                                closing body tag
</html>                                                 closing html




IMP Note
  • Head & body tags are children of HTML Tags
  • HTML is the parent of head & body tag
  • Most of the HTML elements have opening and closing tag with content in between opeing and closing tag
  • Some HTML Tags have no content. These are called empty elements eg<br>, <hr>
  • We can either use htm or html extension
  • You can use "inspect element" or "view page source" option from broweser to look into a website html code.

HTML elements = start tag + content + end tag


Comments in HTML
Comments in HTML are used to mark text which should nto be procced, they can help document to source code.
<!--HTML Comment-->


Case Senssitivity
HTML is a case insensitive language. <H1> and <h1> tags are same



Comments

Popular posts from this blog

HTML, CSS, JS and how website work

 Basic Requirments to build a website HTML                    Must/Structure/Skalaton CSS                         Design JAVASCRIPT     Logic/Brain How Website Work Client request for the website  server returns the response Role of HTML - HTML stands for Hyper Text Markup Language - it is basically a standard markup language for given a statics skeleton to web application and website - its a well standarized system  ROle of CSS -Cascading Style Sheets which is known as CSS is a style sheet language that use to handle the presenatation of the web pages containing HTML - it makes our websites beautiful and modern looking Role of JS - JavaScript which is known as js, is a highly level dynamic interprated programming language. - it allows client-side scripting to create completely dynamic web application and websites. 

Photos Library