What is the main difference between div and span tags


The main difference between the two is that the <div>tag is designed as a box that has a line break before and after it. A tag appears inline without any breaks.

Source: Exam Ref 70-486- Developing ASP.NET MVC 4 Web Applications


Leave a Reply

Your email address will not be published. Required fields are marked *