HTML的简单应用 标记信件
前言:
暑假开始了,我也要正式开始学习web的相关知识了,先从三大件的html开始吧,目前只简单了解了html相关知识的基础,能写一些包含一些文字和图片的简单网页,其实会的东西还是不多,这边看书时发现书上有这样一个练习,就自己做了一下,也发现了自己这段时间学习的不足,只学不去用的话自己其实很难掌握这些知识,后面的学习我可能会看一些网课,做一点小项目来接着巩固自己的所学。
正文:
要求:
想自己尝试的可以访问这个网站:标记信件 - 学习 Web 开发 | MDN (mozilla.org)
代码:
<!doctype html>
<html lange="en-US">
<head>
<meta charset="utf-8" />
<meta name="author" coontent="Dr.Eleanor Gaye"/>
<link rel="stylesheet" href="text1css.css">
</head>
<body>
<address class="sender-column">
<strong>Dr. Eleanor Gaye</strong><br>
Awesome Science faculty<br>
University of Awesome<br>
Bobtown, CA 99999,<br>
USA<br>
<strong>Tel:</strong> 123-456-7890<br>
<strong>Email:</strong> no_reply@example.com<br>
</address>
<p class="sender-column">
<time datatime="2016-01-20">20 January 2016</time>
</p>
<address>
<strong>Miss Eileen Dover</strong><br>
4321 Cliff Top Edge<br>
Dover, CT9 XXX<br>
UK
</address>
<h1>Re: Eileen Dover university application</h1>
<p>Dear Eileen,</p>
<p>Thank you for your recent application to join us at the University of Awesome's science faculty to study as part of your <abbr title="Philosophy Doctor">PhD</abbr> next year. I will answer your questions one by one, in the following sections.</p>
<h2>Starting dates</h2>
<p>We are happy to accommodate you starting your study with us at any time, however it would suit us better if you could start at the beginning of a semester; the start dates for each one are as follows:</p>
<ul>
<li>First semester: 9 September 2016</li>
<li>Second semester: 15 January 2017</li>
<li>Third semester: 2 May 2017</li>
</ul>
<p>Please let me know if this is ok, and if so which start date you would prefer.</p>
<p>You can find more information about <a href="https://www.csdn.net/">important university dates</a> on our website.</p>
<h2>Subjects of study</h2>
<p>At the Awesome Science Faculty, we have a pretty open-minded research facility — as long as the subjects fall somewhere in the realm of science and technology. You seem like an intelligent, dedicated researcher, and just the kind of person we'd like to have on our team. Saying that, of the ideas you submitted we were most intrigued by are as follows, in order of priority:</p>
<ol>
<li>Turning H<sub>2</sub>O into wine, and the health benefits of Resveratrol (C<sub>14</sub>H<sub>12</sub>O<sub>3</sub>.)</li>
<li>Measuring the effect on performance of funk bassplayers at temperatures exceeding 30°C (86°F), when the audience size exponentially increases (effect of 3 × 10<sup>3</sup> increasing to 3 × 10<sup>4</sup>.)</li>
<li><abbr title="Hyper Text Markup Language">HTML</abbr> and <abbr title="Cascading Style Sheets">CSS</abbr> constructs for representing musical scores.</li>
</ol>
<p>So please can you provide more information on each of these subjects, including how long you'd expect the research to take, required staff and other resources, and anything else you think we'd need to know? Thanks.</p>
<h2>Exotic dance moves</h2>
<p>Yes, you are right! As part of my post-doctorate work, I did study exotic tribal dances. To answer your question, my favourite dances are as follows, with definitions:</p>
<p>Polynesian chicken dance</p>
<blockquote>
<p>A little known but very influential dance dating back as far as 300<abbr title="Before Christ">BC</abbr>, a whole village would dance around in a circle like chickens, to encourage their livestock to be "fruitful".</p>
</blockquote>
<p>Icelandic brownian shuffle</p>
<blockquote>
<p>Before the Icelanders developed fire as a means of getting warm, they used to practice this dance, which involved huddling close together in a circle on the floor, and shuffling their bodies around in imperceptibly tiny, very rapid movements. One of my fellow students used to say that he thought this dance inspired modern styles such as Twerking.</p>
</blockquote>
<p>Arctic robot dance</p>
<blockquote>
<p>An interesting example of historic misinformation, English explorers in the 1960s believed to have discovered a new dance style characterized by "robotic", stilted movements, being practiced by inhabitants of Northern Alaska and Canada. Later on however it was discovered that they were just moving like this because they were really cold.</p>
</blockquote>
<p>For more of my research, see <a href="https://www.csdn.net/">my exotic dance research page</a>.</p>
<p>Yours sincerely,</p>
<p>Dr Eleanor Gaye<p>
<p>University of Awesome motto: "Be awesome to each other." -- The memoirs of Bill S Preston, Esq</p>
</html>
其中<address class="sender-column">到</address>这一段是为了将内容放置在网页左上角,算是一个我的未知知识吧。
实现效果:
后记:
目前设计个简单的静态网页没啥问题,但要写一个博客网站还是任重而道远啊。
原文地址:https://blog.csdn.net/Wzh20060111/article/details/140499585
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!