Skip to main content

Posts

Showing posts from May, 2020

Chapter 5 : HTML Elements

1.    HTML Elements  There are two types of elements 1.1 Block-level   1.2 Inline   1.1      What are Block-level Elements ? A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can). These are the following block-level elements.   1.      nav 2.      header 3.      section 4.      main 5.      article 6.      figure 7.      figcaption 8.      div 9.      h1 to h6 10.   p 11.   footer 12.   address 13.   blockquote 14.   canvas 15.   dd 16.   dl 17.   dt 18.   fieldset 19.   form 20.   hr 21.   ul 22.   li 23.   ol 24.   table 25.   tfoot 26.   audio 27.   video 1.2 What are Inline Elements ? An inline element does not start on a new line and only takes up as much width as necessary.   1.      a 2.      abbr 3.      b 4.      br 5.      button 6.      em 7.      i 8.      img 9.      input 10.   label 11.   map 12.   object 13.   output 14.   q 15.   script 16.   select 17.   small 18.   span 19.   s