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. 

introduction to programming

  introduction to programming. programming is a way to talk to computer a language like nepali, hindi, english and spanish etc. can be used to talk with human but for computer we need strainghtforward instruction programming is the act of constructing a program, a set of precise instruction telling a computer what to do. What is Ecmascript ? Ecmascript is a standard on which javascript is based, it was created to ensure that different documents on javascript or actually talking about the same language.  Javascript & Ecmascript can almost always be used in the interchangly javascript is very literal in what it allows. how to execute Javascript ? there are lot of the way to execute javascript. But we will learn some common way to execute javascript. javascript can be execute right inside one's browesers you can open the javascript it console and start writting javascript there. Another way to execute javascript is a runtime like node.js which can be installed and used to run...

reserved word in js

  Some JavaScript | Reserved Words in javascript reserved word is this word which used javascript already in their program written time  this word not allowed when choosing variable name.  here is some javascript reserved word :  abstract arguments await* boolean break byte case catch char class* cons 1 continue debugger default delete do double else enum* eval export* extends* false final finally float for function goto if implements import* in instanceof int interface let* long native new null package private protected public return short static super* switch synchronized this throw throws transient true try typeof var void volatile while with yield x