We all learn to write a letter sooner or later; it is also a useful example to test our text formatting skills. In this assignment, you'll have a letter to mark up as a test for your HTML text formatting skills, as well as hyperlinks and proper use of the HTML
<head>
元素。
| Prerequisites: | Before attempting this assessment you should have already worked through Getting started with HTML , What's in the head? Metadata in HTML , HTML text fundamentals , Creating hyperlinks ,和 Advanced text formatting . |
|---|---|
| Objective: | Test basic and advanced HTML text formatting, use of hyperlinks, and use of HTML <head>. |
To begin, get the
raw text you need to mark up
,和
CSS to style the HTML
. Create a new
.html
file using your text editor or use an online tool such as
CodePen
,
jsFiddle
,或
Glitch
to complete the tasks.
注意: If you get stuck, then ask us for help — see the Assessment or further help section at the bottom of this page.
For this project, your task is to mark up a letter that needs to be hosted on a university intranet. The letter is a response from a research fellow to a prospective PhD student concerning their application to the university.
<html>
,
<head>
and
<body>
元素。
<address>
elements. Each line of the address should sit on a new line, but not be in a new paragraph.
The following screenshot shows an example of what the letter might look like after being marked up.
If you would like your work assessed, or are stuck and want to ask for help:
最后修改: , 由 MDN 贡献者