Latest Posts:

Learn the difference between div and frame span, ol, li.

Learn the difference between div and frame span, ol, li

<Div>
Defines a division or a section in html document.
It is used to group block elements to format them with css.
It is used together with CSS
div {
    
display: block;
}
<frame>
Divide browser window into multiple sections
Each section can load a separate html article.
  1. <frameset cols="25%,50%,25%">
  2.   <frame src="frame_a.htm">
  3.   <frame src="frame_b.htm">
  4.   <frame src="frame_c.htm">
  5. </frameset>

<span>
Used to group inline element in a document
Provides no illustration change by itself
Provides a mode to insert a clip to a part of text or a part of document
<p>My mother has <span style="color:blue">blue</span> eyes.</p>
<ol>
It is used to create ordered list.This will list the items in order
<ol>
  
<li>Coffee</li>
  
<li>Tea</li>
  
<li>Milk</li>
</ol>
<li>
It is used for specifying a list item in ordered unordered, directory and menu list.

<li>Coffee</li>
  
<li>Tea</li>
  
<li>Milk</li>
Share on Google Plus
    Blogger Comment
    Facebook Comment