2 replies [Last post]
gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

if you have to code and address that looks like below :

http://i.imgur.com/XC2tIly.jpg , how would you code it ?

I got this from the manipal hospital site , http://www.sakraworldhospital.com/contact-us.php ,

I just want to see the HTML , no css , what would be the semantic way to code this ?

Thank you.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 38 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

This is one way

    <hx>Address</hx>
 
    <pre>Manipal Hospital Bangalore
NAL Bus Stop Old Airport Rd
Kodihali Bengalaluru, Karnataka 560017
    </pre>
 
    <hx>Email</hx>
 
    <p>Info@manipalhospitals.com</p>
 
    <hx>Telephones</hx>
 
    <dl>
      <dt>Voice</dt>
      <dd>1800-3001-4000</dd>
 
      <dt>Fax</dt>
      <dd>080-2526 6757</dd>
    </dl>

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

Thanks alot gary

Thanks gary ! that will do Smile