jimfog Posted September 10, 2011 Share Posted September 10, 2011 I cannot understand why the address tag is required for address related details(phone etc...)? Why not just use a p tag with the usual br tags to inserts address details? Does the address tag offer something more that the p tag-regarding entering address details in a webpage. Link to comment Share on other sites More sharing options...
Drycodez Posted September 10, 2011 Share Posted September 10, 2011 Well, it is not a must that you use <address> tag in your html. You can use <p> if you want to. Some people prefer to use the tag, bcoz: When a vistor view their html source code and they notice the tag, they know whats between it, even without going throught the content. Link to comment Share on other sites More sharing options...
thescientist Posted September 13, 2011 Share Posted September 13, 2011 it's also helpful for screen readers for people who benefit from the context provided from these kinds of specific tags. Link to comment Share on other sites More sharing options...
Synook Posted September 14, 2011 Share Posted September 14, 2011 Also for other automatic parsers (e.g. search engines, geographically-oriented extensions) that use addresses. You can also style address tags directly in CSS without having to use an (un-semantic) class or ID. The principled reason is, it's an address, so you use the most meaningful tag for it: the <address> tag (just like you use <p> for paragraphs, <table> for tables, etc). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.