如何在html中制作图片标签 [英] how to make image tag in html

查看:166
本文介绍了如何在html中制作图片标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个html页面,因为我现在拥有一个专营权的图像和这些专营权的国家/地区名称,所以我想像页面左侧那样进行设计,我想显示图像,此外,它还意味着在我想要显示的右侧所有5-6个国家/地区的名称...只显示该名称,而不显示该名称的链接...

那么什么是HTMl代码呢????如何排列标签?

I have one html page in that I have one image of franchieses and countries name of that franchieses now i want to make and design like left side of page i want to display image and besides it means at right side i want to display all 5-6 names of countries......just display the name not link for that name...

so what should be HTMl code???? how can i arange tags?

Please any one help me as i new to this field.

推荐答案

最简单的方法是使用一个表,其中图像位于一列,文本位于另一列.然后,您可以根据需要使用多列来帮助对齐图像.
The easy way is to use a table with the image in one column and the text in another. Then you can use multiple columns to help align the images, if you want.


您好,

按照 Christian Graus 的建议,您可以使用table进行操作.您也可以使用DIV标签来做到这一点.但是对于初学者来说,表结构很容易实现.将来您会听说基于DIV的结构更可取(尽管它取决于您的布局).因此,我建议您同时学习基于表和基于Div的布局.有很多站点可以为您提供学习机会.但我更喜欢 W3School [
Hi,

As Christian Graus suggested, you can do it using table. you can also do that using DIV tag. but for beginner Table structure is very easy to implement. In future you will heard that DIV based structure is preferable(although it''s depend upon your layout). So i suggest you to learn both Table based and Div based layout. There are so many sites provides you learning. but i prefer W3School[^]. this site will guide you from beginner to professional. In case you are not able to resolve your issue please go though Table,Img html tag and Alignment,Margin and other related keywords from W3School.

Now start with Table based layout, it''s very simple table layout and i hope you can do it without any extra effort.

Best of luck

Let us know if you stuck somewhere but try something.

Thanks
-Amit Gajjar


这篇关于如何在html中制作图片标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆