In this example The div with id
a is an inline tag and a div is a block.
display: block as css to the
Since this is getting some upvotes here's how to add the css:
Add the css as
style in the
<a href="#yourlink" style="display: block;"> My link </a>
Or by adding it to a stylesheet linked from the