以文本方式查看主题

-  堕落街论坛  (http://duoluojie.1314179.com.cn:443/index.asp)
--  天下美图  (http://duoluojie.1314179.com.cn:443/list.asp?boardid=55)
----  [公告]HTML标签的应用教程,(新手必看)转帖  (http://duoluojie.1314179.com.cn:443/dispbbs.asp?boardid=55&id=27265)

--  作者:猪头
--  发布时间:2004/5/3 13:31:00
--  [公告]HTML标签的应用教程,(新手必看)转帖

[(一)贴背景公式:(单个背景)  <#div align=&quot;center&quot;> <#table border=&quot;3&quot; width=&quot;50%&quot; id=&quot;table1&quot; height=&quot;469&quot; background=&quot;图片地址&quot;> <#tr> <#td> <#div align=&quot;center&quot;>

其中 border=&quot;3&quot; 边框粗细 可以调整 效果如下:(使用时去掉#号)

还有一种背景代码

<*HTML> <*center><*table border=5 background=图片地址 width=600 height=440>

<*td><*/table>

效果如下:(使用时去掉*号)

其中 WIDTH=600 是背景的宽度 height=440是背景的高度

若用横背景或背景的规格不确定可省略背景的高度即省略 height=200

一般情况下是省略背景高度嘀。。。。。。 注意:背景图片地址与width=560之间应有一个空格,漏掉空格,图片将不显示:)

[此贴子已经被作者于2004-5-3 13:49:16编辑过]

--  作者:听每片树叶
--  发布时间:2004/5/3 13:35:00
--  

恩。收藏!~~~正好好好学。。。


--  作者:猪头
--  发布时间:2004/5/3 13:51:00
--  

HTML语句贴图片格式 <*img src=图片地址 width=307 height=350> (其中 width=307 height=350 是指图片的规格数字可以更改嘀。。。。。。

图片的地址,建议大家上传到师大论坛 ,这样可以保证图片的稳定和长久, 其中 border=&quot;3&quot; 可以调整数字来调整图片边框粗细 bordercolor=&quot;#008000 后面的=&quot;#008000 是边框颜色 #000000 黑色 #FF0000 红色 #3300FF 蓝色 width=&quot;300&quot; height=&quot;300&quot;> 是调整图片尺寸的 假如是个正方型图片,就可以是width=&quot;300&quot; height=&quot;300&quot;>其中300可以调整

假如是个正方型图片,就可以是width=&quot;300&quot; height=&quot;200&quot;>或width=&quot;200&quot; height=&quot;300&quot;>

反正调整到你满意为止

与背景结合使用格式为:

<*HTML> <*center><*table cellpadding=0 cellspacing=0 border=0 WIDTH=580 align=center table background=http://chun2.html.533.net/zhsh/bj.jpg width=760><*tr><*td><*center> <*img src=http://chun2.html.533.net/zhsh/ym.jpg width=390 height=350> <*/td><*/table><*/center> <*/HTML>

效果如图:(使用时去掉*号) <HTML> <center><table cellpadding=0 cellspacing=0 border=0 WIDTH=580 align=center table background=http://chun2.html.533.net/zhsh/bj.jpg width=760><tr><td><center> <img src=http://chun2.html.533.net/zhsh/ym.jpg width=390 height=350> </td></table></center> </HTML>

[此贴子已经被作者于2004-5-3 13:55:04编辑过]

--  作者:猪头
--  发布时间:2004/5/3 13:55:00
--  

静态文本公式: <*font size=3 color=#FFFAF0> 文字在此 <*/font> 效果: 梦江南-- 温庭筠 梳洗罢, 独依望江楼。 过尽千帆皆不是, 斜晖脉脉水悠悠, 肠断白蘋洲。 与背景结合使用格式为: <*HTML> <*center><*table cellpadding=0 cellspacing=0 border=0 WIDTH=580 align=center table background=http://chun2.html.533.net/zhsh/bj.jpg width=760><*tr><*td><*center> <*img src=http://chun2.html.533.net/zhsh/ym.jpg width=390 height=350> <*font size=3 color=#0000FF>梦江南-- 温庭筠 梳洗罢, 独依望江楼。 过尽千帆皆不是, 斜晖脉脉水悠悠, 肠断白蘋洲。 <*/font> <*/td><*/table><*/center> <*/HTML> 效果如图: <HTML> <center><table cellpadding=0 cellspacing=0 border=0 WIDTH=580 align=center table background=http://chun2.html.533.net/zhsh/bj.jpg width=760><tr><td><center> <img src=http://chun2.html.533.net/zhsh/ym.jpg width=390 height=350> <font size=3 color=#0000FF> 梦江南-- 温庭筠

梳洗罢,

独依望江楼。

过尽千帆皆不是,

斜晖脉脉水悠悠,

肠断白蘋洲。 </font> </td></table></center> </HTML>

[此贴子已经被作者于2004-5-3 13:57:59编辑过]

--  作者:猪头
--  发布时间:2004/5/3 13:59:00
--  
由于效果图总是弄不好等5,1过后一定把教程全部帖出
--  作者:取名字好烦
--  发布时间:2004/5/3 14:26:00
--  

好的

这次可以学学了


--  作者:取名字好烦
--  发布时间:2004/5/3 14:29:00
--  

好的

这次可以学学了


--  作者:玲玲
--  发布时间:2004/5/3 16:38:00
--  

这样的教程很有用处啊。但是没有说明文字应该如何写上去啊。


--  作者:星梦奇缘
--  发布时间:2004/5/3 16:47:00
--  
好好学习,天天向上!
--  作者:数到三就不哭
--  发布时间:2004/5/17 0:19:00
--  
这个在这里是行不通的