Skip to main content

Posts

Showing posts from May, 2024

Basic HTML Tags

<h1> : this is for heading  , and this tag needs closing also </h1> <br> this is for break  the line    here u can see without br tag there is no line break between paragrah now if u want to break in this paragraph u need to use can use br tag U can see changes after using br tag:   <p> Divyanshu Khare </p> : This is paragraph Tag, we want to to group sementically group things, group logical lines into one line so it makes sense that we all group all the lines belonging to one paragraph under the paragraph tag. so that later we can apply different styles using css on this paragraph and others.  &nbsp :  we cant use multiple spaces on html if I want to use multiple spaces then what we can do &nbsp , it means no break space , if u want to two spaces u need to use two  &nbsp  &nbsp

HTML Page Structure

 There are 3 Sections of any HTML page -- 1) Header 2) Main Section 3) Footer Sectore  in Html need to writing opening tag before any tag < and end with closing tag > The HTML page we've 2 fix children we called them Head and body whatever part that is visible to us that is comes under body section  What is Head part ? Head part is basically meta Data part , Meta data has some information of the page, Like title of the page will write under head part  tag for head <head> </head> tag for body - <body> </body> <!DOCTYPE html>   // this is not tag this is important for the browser to interpret that this is html file and which version of html file u are using , this is actually html 5 What is a boilerplate? Boilerplate code in HTML is required to set up the basic web page structure. This web page structure is the same for all web pages in general. Body Content Automatic boilerplate generation in different Text Editors Text editors can produce