html5 - Is use of HTML 5 section id="contacts" semantically correct in place of div id="contacts"? -


is use section id="contacts" semantically correct in place of div id="contacts"?

on webpage need add multiple contacts info of company. use div id="contacts if want use html 5 tag as possible appropriate use section id="contacts" in case.

or no benefit use section element here.

for example wrap multiple address this

<p> <b>address 1:</b><br> 9900 corporate campus dr., suite 3000<br> louisville, ky 40223 <br> <b>phone:</b> (502) 657-6033<br> <b>fax: </b>(425) 936-7329<br> </p>  <p> <b>address 2:</b><br> 9900 corporate campus dr., suite 3000<br> louisville, ky 40223 <br> <b>phone:</b> (502) 657-6033<br> <b>fax: </b>(425) 936-7329<br> 

the address element must not used represent arbitrary addresses (e.g. postal addresses), unless addresses in fact relevant contact information.

so in case—if understand correctly company's website—you should use <address>.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -