html - 如何设计一个非常简单的 HTML 页面?

标签 html

下面张贴的图片是从一个word文档中截取的。我需要用 HTML 创建一个类似的。我应该使用哪些标签来帮助构建与您在下面看到的相同的方式。丢弃字体/颜色标签。

alt text

最佳答案

正如 James Black 所说,MS Word 或 Open office 可以自动为您将文档另存为 html 文件。从文件另存为,然后选择网页。

无论如何,如果您想手动执行它,那么您最终会使用的不是单个标签。我刚刚为您做了一个与您的形象非常相似的快速模型。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Invoice Title</title>
</head>

<body>
<div id="main">
        <div id="header">
            <div>Shipment # </div>
            <div>Invoice # </div>
            <div><h2>CUSTOMER PO </h2></div>
        </div>

        <div id="content">
                <div style="text-align:center;" ><h1>PACKAGING LIST </h1> </div>
                <div style="padding-top:50px;"><h2>Motion detectors consisting of the following,</h2> </div>
                    <div id="items" style="padding-top:40px;"> 1. P/N Auro</div>

        </div>

        <div id="footer">
                 <div id="items" style="padding-top:200px;"><strong> Distributor</strong></div>
        </div>
</div>
</body>
</html>

希望对你有帮助

关于html - 如何设计一个非常简单的 HTML 页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3429036/

相关文章:

html - 带变量的 CSS3 计算

html - 为什么在包含样式 css 文件后仍未应用 Bootstrap 样式?

html - 如何引用背景图像?

css - 如何使 DIV 垂直和水平居中?

html - 将我的 Logo 链接到主页 html

javascript - 按键功能中的 setTimeout 功能如何工作

css - Phonegap css 背景图像 dpi

javascript - 如何在 JavaScript 中跟踪回调函数事件?

jquery - 如何使用jquery选择另一个特殊标签后的特殊标签

HTML:无法让 DIV 紧紧包裹内部 div