网页制作

一、根目录:网站的第一级文件夹(注意以英文命名)

1. 图片文件夹: images

2. 样式文件夹: CSS  (下面建立index.css 与.html对应)

3. 首页 : index.html

css样式引入html代码如下:

<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学成在线</title>
    <!-- link -->
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
   
</body>
</html>

二、布局流程

➢ 从外到内, 从上到下

➢ CSS美化

  ➢ 宽度,高度,背景色 → 调整位置

  ➢ 放内容 → 调整内容位置 → 调整细节(文字样式等等)

posted @ 2022-08-02 23:00  挚终  阅读(102)  评论(0)    收藏  举报