用html做诗的简单介绍
华为云服务器特价优惠火热进行中! 2核2G2兆仅需 38 元;4核4G3兆仅需 79 元。购买时间越长越优惠!更多配置及优惠价格请咨询客服。
合作流程: |
今天给各位分享用html做诗的知识,其中也会对进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!
微信号:cloud7591如需了解更多,欢迎添加客服微信咨询。
复制微信号
本文目录一览:
- 1、在html里面怎么把古诗打出来
- 2、帮帮忙, 谁能给出静夜思这首诗相应的HTML代码,谢了各位!
- 3、求HTML代码,页面显示古诗的题目,按下按钮,古诗第一句替换古诗题目
- 4、用html怎样实现点击古诗题目就能显示诗内容
- 5、各位大神们这个怎么用HTML代码写出来?
在html里面怎么把古诗打出来
!doctype html
html
head
meta charset="utf-8"
title/title
/head
body
古诗
/body
/html
帮帮忙, 谁能给出静夜思这首诗相应的HTML代码,谢了各位!
这么个效果,不保证能得多少分
!DOCTYPE html
html
head
meta charset="UTF-8"
/head
body
div
div style="font-size: 300%;font-weight: bold;border-bottom: solid 2px gray; width: 250px; padding-bottom: 20px;text-align: center;"
静夜思
/div
div style="margin-left: 170px;margin-top: 20px;"
床前明月光,疑是地上霜。br/
举头望明月,低头思故乡。
/div
/div
/body
/html

求HTML代码,页面显示古诗的题目,按下按钮,古诗第一句替换古诗题目
这个可以通过一个简单的js时间来实现,
首先创建input按钮,添加onclick=tihuan(this)事件:
//替换方法将当前文件替换成其他文字。
function tihuan(obj){
obj.replace(obj,其他字符);
}
用html怎样实现点击古诗题目就能显示诗内容
!DOCTYPE HTML
html
head
title念奴娇/title
meta charset=UTF-8 /
style type="text/css"
* {
margin: 0;
padding: 0;
border: 0;
}
ul.content {
width: 1000px;
height: 600px;
margin: auto;
overflow: hidden;
list-style: none;
background: url(bg1.jpg) no-repeat;
}
ul.content li {
float: right;
margin-left: 7px;
margin-right: 24px;
line-height: 30px;
width: 14px;
font-size: 14px;
word-wrap: break-word;
word-break: nomal;
font: bolder 25px/1.5 方正行楷简体;
}
/style
/head
body
ul class="content"
li大江东去/li
li浪淘尽/li
li千古风流人物/li
li故垒西边/li
li人道是/li
li三国周郎赤壁/li
li乱石穿空/li
li惊涛拍岸/li
li卷起千堆雪/li
li江山如画/li
li一时多少豪杰/li
li遥想公瑾当年/li
li小乔初嫁了/li
li雄姿英发/li
li羽扇纶巾/li
li谈笑间/li
li樯橹灰飞烟灭/li
li故国神游/li
li多情应笑我/li
li早生华发/li
li人生如梦/li
li一尊还酹江月nbsp;苏轼/li
/ul
/body
/html
各位大神们这个怎么用HTML代码写出来?
你好!
!DOCTYPE html
html
head
meta charset="UTF-8"
style.code-box{position:relative;display:inline-block;width:90%;margin:0 0 16px;border:0px solid #f0f0f0;border-bottom:1px solid #a7a8ab;border-radius:2px;-webkit-transition:all 0.2s;transition:all 0.2s;margin-top:30px;margin-bottom:4px;}.code-box,.code-box .code-box-demo{background-color:#fff;}.code-box-demo{display:none;padding:2px 24px 1px;color:rgba(0,0,0,0.85);border-bottom:1px solid #f0f0f0;}.code-box-meta.markdown{position:relative;width:100%;font-size:14px;border-radius:0 0 2px 2px;-webkit-transition:background-color 0.4s;transition:background-color 0.4s;}.markdown{color:rgba(0,0,0,0.85);font-size:14px;line-height:2;}.code-box-title{font-family:'宋体';font-weight:bold;position:absolute;top:-26px;font-size:22px;font-style:italic;margin-left:0px;padding:1px 8px;padding-left:5px;padding-right:10px;color:#777;background:#fff;border-radius:2px 2px 0 0;-webkit-transition:background-color 0.4s;transition:background-color 0.4s;}.code-box-title a{text-decoration:none;}.code-box-description{border:0 none;border-top:2px solid #a7a8ab;padding:10px 5px 6px;width:600px;}.code-box-description div{font-family:'宋体';font-size:22px;font-weight:bold;}.code-box-description div._title{text-align:center;text-decoration:underline;}.code-box-description div._content:last-child{margin-left:100px;margin-top:-10px;margin-bottom:-10px;}.code-box-description div._content span{font-size:26px;color:red;}ul.note{margin-left:8px;padding-left:0px;margin:2px 8px;}ul.note li{list-style:none;font-family:'宋体';font-size:22px;color:black;}ul.note li:before{content:"";display:inline-block;width:15px;height:15px;background-color:black;border-radius:50%;margin-right:5px;}/style
/head
body
section class="code-box" id="components-empty-demo-basic" data-scrollama-index="2"
section class="code-box-meta markdown"
div class="code-box-title"a href="#components-empty-demo-basic"诗词赏析/a/div
div class="code-box-description"
div class="_title"春望/div
div class="_content"国破山河在,城春草木深。/div
div class="_content _last"感时花溅泪,span恨别鸟惊心。/span/div
/div
/section
/section
ul class="note"
li烽火连三月,家书抵“万金”。/li
li白头搔更短,浑欲不胜簪。/li
/ul
/body
/html
希望对你有帮助!
关于用html做诗和的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。
