Jump to content

GOO

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by GOO

  1. So, that means,if i wrote a <div>, it should contain <p>.And in the <p>, it should contain <span>, right?Like this:<html><head></head><body><div style="color:#488e5e"><p>Some text here. Some text here. Some text here.</p><p>Some text here. Some text here. Some text here.</p><p>Some text here. <span style="color:#2232ed">Some text here.</span> Some text here.</p></div></body></html>

  2. Somehow I find it weird when i use <div> and <span> to write these:<div> type:<html><body><p><div style="color:#ff0000;">Here it is!</div></p></body></html><span> type:<html><body><p><span style="color:#ff0000;">Here It is!</span></p></body></html>There is no difference!!!Why?What is the difference?Or what is the use of those?

×
×
  • Create New...