老师,请检查
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>css叠层图</title> <style> div{ line-height: 5em; font-size: 2em; font-family: '宋体'; text-align: center; background-color: #eee; } img{ vertical-align: -5px; } .span1{ font-size: 2em; } .span2{ color: red; text-decoration: underline; vertical-align: 15px; } </style> </head> <body> <div> <p><img src=" http://img1.sycdn.imooc.com/climg//59c21bae000157fa01000059.jpg"/> <span class="span1">CSS层叠样式表</span> <span class="span2">(Cascading Style Sheets)</span></p> </div> </body> </html>
感谢老师批改。
1
收起
正在回答 回答被采纳积分+1
3回答
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星