<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style>
p {
margin:auto;
width:950px;
}
p img{max-width: 100% !important; height: auto!important; width:expression(this.width > 950 ? "950px" : this.width)!important;}
</style>
</head>
<body>
<p>
<img src="http://www.tianshui.com.cn/Files195/BeyondPic/2008-1/30/Img254961375.jpg" width="1024px;;" />
</p>
</body>
</html>
本文介绍了一个简单的HTML页面结构,展示了如何使用HTML标签来设置页面的基本布局,并通过内联样式调整了图片的显示效果。
1977

被折叠的 条评论
为什么被折叠?



