美文网首页
第一次尝试编写html和css

第一次尝试编写html和css

作者: kimrebelliouss | 来源:发表于2017-02-11 17:02 被阅读0次

HTML的相关内容
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>你是人间四月天</title>
<link rel="stylesheet" href="text.css">
<link rel="shortcut icon" type="image/x-icon" href="https://production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" />
<link rel="mask-icon" type="" href="https://production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" />
</head>
<body>
<div id="beijing">
<div class="container">
<div class="jumbotron">
<div class="row">
<h1>你是人间四月天</h1>
<h2>林徽因</h2>
<div id="page">

</div>
<div id="zhengwen">
<p>我说你是人间的四月天;</p>
<p>笑响点亮了四面风;</p>
<p>轻灵在春的光艳中交舞着变。</p>
<p>你是四月早天里的云烟,</p>
<p>黄昏吹着风的软,</p>
<p>星子在无意中闪,</p>
<p>细雨点洒在花前。</p>
<p>那轻,那娉婷,你是,</p>
<p>鲜妍百花的冠冕你戴着,</p>
<p>你是天真,庄严,</p>
<p>你是夜夜的月圆。</p>
<p>雪化后那片鹅黄,你像;</p>
<p>新鲜初放芽的绿,你是;</p>
<p>柔嫩喜悦,</p>
<p>水光浮动着你梦期待中白莲。</p>
<p>你是一树一树的花开,</p>
<p>是燕在梁间呢喃,</p>
<p>——你是爱,是暖,是希望,</p>
<p>你是人间的四月天!</p>
</div>
<div id="mingyan">
<blockquote>
<p>答案很长,我准备用一生的时间来回答,你准备要听了吗?</p>
<footer><cite>——林徽因</cite></footer>
</blockquote>
</div>
<div id="suggest">
<label><input type="radio" name="suggest">❤❤❤</label>
<label><input type="radio" name="suggest">❤❤</label>
<label><input type="radio" name="suggest">❤</label>
<button type="submit">提交</button>
</div>
<div id="lianjie">
<h3>想了解
<a rel="nofollow" rel="noreferrer"href="http://baike.baidu.com/link?url=oIUT9JKp0f6yTWPsOKpAcijBSxhwufnPstBJSJ4EoRkqkjWIQJd7d1WwVppi9TLczRCZGa5NTfa3VeYXkdYHK-tkIarL1IBL4qmGSjDAQaOU8pK1EdcTR8NSAidonitP" target="_blank">
更多
</a>
</h3>
<br />
<br />
</div>
   </div>

</div>
</div>
</div>

<div id="yemei">
<footer class="text-center">
<hr>
<p>Written and coded by <a rel="nofollow" rel="noreferrer"href="http://www.jianshu.com/users/b9cf8b2a47b3/timeline" target="_blank">Jinyufeng</a>.</p>

</footer>
</div>

</body>

CSS内容
body{
margin-top: 5px;
width: 100%;
height: 100%;
}
h1{
text-align: center;
font-family:"微软雅黑","黑体","宋体";
font-weight: normal
}
h2{
text-align: center;
font-family:"微软雅黑","黑体","宋体";
font-weight: normal
}

page{

text-align: center;

}

suggest{

text-align: center;
font-family: "sans-serif";    

}

zhengwen{

text-align: center;
font-family: "Times New Roman", Times, serif;
font-size: 19px;
color: #000000;    

}

mingyan{

text-align: center;
font-family:"微软雅黑","黑体","宋体";
font-size:21px; 

}

lianjie{

text-align: center;
font-family:"微软雅黑","黑体","宋体";
font-size:12px;

}

yemei{

text-align: center;
font-family:"微软雅黑","黑体","宋体";
font-size:12px;

}

beijing{

background-color: #CCC;

}

相关文章

  • 第一次尝试编写html和css

    HTML的相关内容 你是人间四月天 你是人间四月天 林徽因 CSS内容body{mar...

  • CSS基础入门(第四天)

    一、学习计划: 1.CSS的定义和HTML的关系 2.如何编写CSS 3.CSS语法和简单属性 4.CSS选择器 ...

  • day01

    今天开始用vs code 编写前端网页 1.什么是HTML和CSS 2.常用的HTML标签 3.常用的CSS样式 ...

  • gulp解决微信小程序在自己IDE里高亮问题

    微信小程序的html的后缀为wxml,css的后缀为wxss。 我们在自己的IDE里面用常规的html和css编写...

  • day2 前端css(样式)(2022-02-22)

    css代码编写方式 嵌入编写 将css代码写在html代码文件中 必须将css代码写在style标记中(style...

  • 二、JS 进阶

    JS 进阶 HTML 标记(结构)、CSS 样式(表示),HTML + CSS 只能编写出静态页面;JS 可以为网...

  • 二、JS 进阶

    JS 进阶 HTML 标记(结构)、CSS 样式(表示),HTML + CSS 只能编写出静态页面;JS 可以为网...

  • ccs样式文件编写

    css样式文件编写方式 引入css文件 html头部定义 元素style属性

  • Bootstrap编码规范

    Bootstrap 编码规范:编写灵活、稳定、高质量的 HTML 和 CSS 代码的规范。 HTML 1、语法用两...

  • css语法

    CSS的注释,作用和HTML注释类似,只不过它必须编写在style标签中,或者是CSS文件中 css的语法: ...

网友评论

      本文标题:第一次尝试编写html和css

      本文链接:https://www.haomeiwen.com/subject/hsdoittx.html