案例:图文混排

<html>
<head>

<title>HTML示例</title>
<style type="text/css">

#imgtex11{
width:400px;
height:300px;

border:2px dashed orange;
}

#image11{

float:left;

}
#text11{
color:blue;

}
</style>

</head>

<body>
<div id="imgtex11">
<div id="image11"><img src="a.PNG" width="250" height="200"></div>
<div id="text11">天生丽质难自弃,一朝选在君王侧。

回眸一笑百媚生,六宫粉黛无颜色。

春寒赐浴华清池,温泉水滑洗凝脂。

侍儿扶起娇无力,始是新承恩泽时。

云鬓花颜金步摇,芙蓉帐暖度春宵。

春宵苦短日高起,从此君王不早朝。

承欢侍宴无闲暇,春从春游夜专夜。

后宫佳丽三千人,三千宠爱在一身。

金屋妆成娇侍夜,玉楼宴罢醉和春。</div>
</div>


</body>

</html>

posted @ 2020-09-26 15:31  一玎  阅读(207)  评论(0)    收藏  举报