您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

如何在HTML中标记邮政地址?

2024/3/19 18:13:28发布18次查看
地址用于对建筑物进行物理定位。地址是一种以固定格式呈现的信息,用于给出建筑物、公寓的位置,以及使用的其他标识符,例如房屋或公寓号码。
我们使用标签在网页上提供联系方式。 html
标签定义网页上文档或文章作者的联系信息。 联系信息可以是建筑物位置、电子邮件地址、url、电话号码等。
元素中的文本通常以斜体格式呈现,并且始终会在 前后添加换行符> 元素。 语法以下是
标记的语法。<address>the contact information</address>
示例以下是标记的示例程序。
<!doctype html><html><head> <title>html address tag</title></head><body> <address> usa </address></body></html>
示例以下是 标记的另一个示例程序。
<!doctype html><html><body> <p>the address of dlf building, hyderabad</p> <address> cybercity plot.no: 129,130,132<br> gachibowli rd,<br> colony:aphb colony,<br> city:hyderabad,<br> state:telangana, <br> pincode:500019<br> </address></body></html>
示例在此,我们使用 css 更改了 标签的默认样式。
<!doctype html><html><head> <title>html address tag</title> <style> address { display: block; font-family: lucida console, courier new, monospace; }; </style></head><body> <h1>contact us</h1> <address> 52nd street<br> new york,<br> ny 10019<br> usa </address></body></html>
以上就是如何在html中标记邮政地址?的详细内容。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product