SlideShare une entreprise Scribd logo
1  sur  21
Introduction to HTML
            By Amit Tyagi
HTML
•   What is HTML?
•   HTML is a language for describing web pages.
•   HTML stands for Hyper Text Markup Language
•   HTML is not a programming language, it is
    a markup language
HTML Tags
• HTML markup tags are usually called HTML tags
• HTML tags are keywords (tag names) surrounded
  by angle brackets like <html>
• HTML tags normally come in pairs like <b> and </b>
• The first tag in a pair is the start tag, the second tag is
  the end tag
• Attributes can be added within the start tags like:
  <div class=“tbody”>Info</div>
HTML Structure
           <!DOCTYPE html>
           <html lang="en-IN">
                    <head>
                               <title>Display demo</title>
                               <meta name="description" content="A demo
Head
       {   page to show HTML display property">

           href="style.css" />
                               <link rel="stylesheet" type="text/css"

                               <script >
                                         // js code goes here
                               </script>
                    </head>
                    <body>
                               <div id="main_page">Welcome to the
Body
       {   unlimited world of

           </html>
                    </body>
                                                   HTML </div>
Box model
Display property
none                 inline
block                list-item
run-in               compact
marker               table
inline-table         inline-block
table-row-group      table-header-group
table-footer-group   table-row
table-column-group   table-column
table-cell           table-caption
display:block;
•   Block Level elements, such as DIVs, paragraphs, headings, and
    lists, sit one above another when displayed in the browser.

                                  HTML
                                  <body>
                                            <div id=“div1”></div>
                                            <div id=“div2”></div>
                                            <div id=“div3”></div>
                                  </body>

                                  CSS
                                  #div1 { width:300px;background:yellow;}
                                  #div1 { width:300px;background:blue;}
                                  #div1 { width:300px;background:orange;}
Inline Elements
•   Inline elements such as a, span, and img, sit side by side when
    they are displayed in the browser and only appear on a new line if
    there is insufficient room on the previous one.




     <div id="row1" >                         .norm {
                                                              color:red;
        <span class="norm">This is            }
     small text and </span>                   .big {
        <span class="big">this is big</                       color:blue;
     span>                                                    font-weight:bold;
                                              }
        <span class="italicText"> I am        .italicText {
     Italic</span>                                            color:green;
     </div>                                                   font-style:italic;
                                              }
                                              #row1 {
                                                              padding:10px;
                                                              border:solid 1px #000;
                                              }
Visibility
Visible : The element is visible (default).
Hidden : The element is invisible (but still takes up space)




    .big {
             visibility:hidden;
    }
z-index
The z-index property specifies the stack order of an element.
An element with greater stack order is always in front of an
element with a lower stack order.
only works on positioned elements (position:absolute,
position:relative, or position:fixed).
Default page flow
Always think of web page as 3D arrangement
of different layers.
Floating
float:left, right, none;
A floated box is laid out according to the normal flow, then taken out
of the flow and shifted to the left or right as far as possible.



                              IMG
                              {     float:
                              left;
                              }
Floating multiple elements
Floated boxes will move to the left or right until their outer edge
touches the containing block edge or the outer edge of another float.

   <ul>
           <li>Home</li>
           <li>Products</li>
           <li>Services</li>
           <li>Contact Us</li>
   </ul>

   After applying
   LI {
           float:left;
   }
Clearing Floats
Clear:both ;
Or
<style type="text/css">
    .clearfix:after {
           content: "."; display: block; height: 0; clear: both; visibility: hidden; }
           .clearfix {display: inline-block;} /* for IE/Mac */
</style>
<!--[if IE]><style type="text/css">
    .clearfix { zoom: 1; display: block; }
</style> <![endif]-->
Positioning - static
position:static; (Default option) the element occurs in the normal
flow (ignores any top, bottom, left, right, or z-index declarations)
Positioning - relative
position:relative; Generates a relatively positioned element,
positioned relative to its normal position, use bottom, right, top
and left property to place element. Default flow of other elements
don’t change.
Positioning - absolute
position:relative; Generates an absolutely positioned element,
positioned relative to the first Ancestor element that has a
position other than static (if none is found, relative to document’s
BODY). use bottom, right, top and left property to place element
Positioning - fixed
position:relative; Generates an absolutely positioned element,
positioned relative to the browser window and don’t change
even after page scroll. use bottom, right, top and left property to
place element
Refrences
• www.w3schools.com
• www.w3.org
• World wide web

Contenu connexe

Tendances (20)

Html ppt
Html pptHtml ppt
Html ppt
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
 
Html tags
Html tagsHtml tags
Html tags
 
Css Display Property
Css Display PropertyCss Display Property
Css Display Property
 
Css position
Css positionCss position
Css position
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to XHTML
Introduction to XHTMLIntroduction to XHTML
Introduction to XHTML
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Html ppt
Html pptHtml ppt
Html ppt
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html project
Html projectHtml project
Html project
 
Html 5
Html 5Html 5
Html 5
 
CSS
CSSCSS
CSS
 
Css Basics
Css BasicsCss Basics
Css Basics
 
Html example
Html exampleHtml example
Html example
 
Css box-model
Css box-modelCss box-model
Css box-model
 
Html ppt
Html pptHtml ppt
Html ppt
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
CSS
CSSCSS
CSS
 

En vedette (9)

Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Ppt ch03
Ppt ch03Ppt ch03
Ppt ch03
 
Ppt ch05
Ppt ch05Ppt ch05
Ppt ch05
 
Ppt ch11
Ppt ch11Ppt ch11
Ppt ch11
 
Basic html
Basic htmlBasic html
Basic html
 
Ppt ch01
Ppt ch01Ppt ch01
Ppt ch01
 
Ppt ch04
Ppt ch04Ppt ch04
Ppt ch04
 
Ppt ch07
Ppt ch07Ppt ch07
Ppt ch07
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 

Similaire à Introduction to HTML

Similaire à Introduction to HTML (20)

CSS
CSSCSS
CSS
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
 
CSS Layout Tutorial
CSS Layout TutorialCSS Layout Tutorial
CSS Layout Tutorial
 
CSS_Dibbo
CSS_DibboCSS_Dibbo
CSS_Dibbo
 
Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01
 
Web Design Course: CSS lecture 4
Web Design Course: CSS  lecture 4Web Design Course: CSS  lecture 4
Web Design Course: CSS lecture 4
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Introdução a CSS
Introdução a CSS Introdução a CSS
Introdução a CSS
 
CSS for basic learner
CSS for basic learnerCSS for basic learner
CSS for basic learner
 
css v1 guru
css v1 gurucss v1 guru
css v1 guru
 
Web Layout
Web LayoutWeb Layout
Web Layout
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
CSS3 Refresher
CSS3 RefresherCSS3 Refresher
CSS3 Refresher
 
Html advance
Html advanceHtml advance
Html advance
 
HTML-Advance.pptx
HTML-Advance.pptxHTML-Advance.pptx
HTML-Advance.pptx
 
CSC PPT 9.pptx
CSC PPT 9.pptxCSC PPT 9.pptx
CSC PPT 9.pptx
 
Slice and Dice
Slice and DiceSlice and Dice
Slice and Dice
 
CSS
CSSCSS
CSS
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
CSS tutorial chapter 3
CSS tutorial chapter 3CSS tutorial chapter 3
CSS tutorial chapter 3
 

Dernier

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Dernier (20)

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 

Introduction to HTML

  • 1. Introduction to HTML By Amit Tyagi
  • 2. HTML • What is HTML? • HTML is a language for describing web pages. • HTML stands for Hyper Text Markup Language • HTML is not a programming language, it is a markup language
  • 3. HTML Tags • HTML markup tags are usually called HTML tags • HTML tags are keywords (tag names) surrounded by angle brackets like <html> • HTML tags normally come in pairs like <b> and </b> • The first tag in a pair is the start tag, the second tag is the end tag • Attributes can be added within the start tags like: <div class=“tbody”>Info</div>
  • 4. HTML Structure <!DOCTYPE html> <html lang="en-IN"> <head> <title>Display demo</title> <meta name="description" content="A demo Head { page to show HTML display property"> href="style.css" /> <link rel="stylesheet" type="text/css" <script > // js code goes here </script> </head> <body> <div id="main_page">Welcome to the Body { unlimited world of </html> </body> HTML </div>
  • 6. Display property none inline block list-item run-in compact marker table inline-table inline-block table-row-group table-header-group table-footer-group table-row table-column-group table-column table-cell table-caption
  • 7. display:block; • Block Level elements, such as DIVs, paragraphs, headings, and lists, sit one above another when displayed in the browser. HTML <body> <div id=“div1”></div> <div id=“div2”></div> <div id=“div3”></div> </body> CSS #div1 { width:300px;background:yellow;} #div1 { width:300px;background:blue;} #div1 { width:300px;background:orange;}
  • 8. Inline Elements • Inline elements such as a, span, and img, sit side by side when they are displayed in the browser and only appear on a new line if there is insufficient room on the previous one. <div id="row1" > .norm { color:red; <span class="norm">This is } small text and </span> .big { <span class="big">this is big</ color:blue; span> font-weight:bold; } <span class="italicText"> I am .italicText { Italic</span> color:green; </div> font-style:italic; } #row1 { padding:10px; border:solid 1px #000; }
  • 9. Visibility Visible : The element is visible (default). Hidden : The element is invisible (but still takes up space) .big { visibility:hidden; }
  • 10. z-index The z-index property specifies the stack order of an element. An element with greater stack order is always in front of an element with a lower stack order. only works on positioned elements (position:absolute, position:relative, or position:fixed).
  • 11. Default page flow Always think of web page as 3D arrangement of different layers.
  • 12. Floating float:left, right, none; A floated box is laid out according to the normal flow, then taken out of the flow and shifted to the left or right as far as possible. IMG { float: left; }
  • 13. Floating multiple elements Floated boxes will move to the left or right until their outer edge touches the containing block edge or the outer edge of another float. <ul> <li>Home</li> <li>Products</li> <li>Services</li> <li>Contact Us</li> </ul> After applying LI { float:left; }
  • 14. Clearing Floats Clear:both ; Or <style type="text/css"> .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix {display: inline-block;} /* for IE/Mac */ </style> <!--[if IE]><style type="text/css"> .clearfix { zoom: 1; display: block; } </style> <![endif]-->
  • 15. Positioning - static position:static; (Default option) the element occurs in the normal flow (ignores any top, bottom, left, right, or z-index declarations)
  • 16. Positioning - relative position:relative; Generates a relatively positioned element, positioned relative to its normal position, use bottom, right, top and left property to place element. Default flow of other elements don’t change.
  • 17. Positioning - absolute position:relative; Generates an absolutely positioned element, positioned relative to the first Ancestor element that has a position other than static (if none is found, relative to document’s BODY). use bottom, right, top and left property to place element
  • 18. Positioning - fixed position:relative; Generates an absolutely positioned element, positioned relative to the browser window and don’t change even after page scroll. use bottom, right, top and left property to place element
  • 19.
  • 20.