<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="format-detection" content="telephone=no">
  <meta name="applicable-device" content="pc,mobile">
  <title>免费的个人网站html代码怎么做：从搭建到上线发布的完整步骤_政务资讯_青岛大众网</title>
  <meta name="keywords" content="A/B测试">
  <meta name="description" content="免费的个人网站可以从一个简单的个人主页开始：准备本地文件夹，写好网页结构和样式，在浏览器中检查效果，再发布到静态网站托管空间。下面按从搭建到上线的顺序给出一份可直接修改的示例，适合制作个人介绍、作品集或简历展示页，不需要数据库或后端程序。第一步：准备网站文件在电脑上新建一个文件夹，例如 my-site，再在文件夹内创">
  <meta name="robots" content="index,follow,max-image-preview:large">
  <meta name="author" content="陈信聪">
  <meta name="copyright" content="大众网版权所有">
  <link rel="canonical" href="http://www.stockpoop.com/css/20261114136240.css">
  <meta property="og:site_name" content="青岛大众网">
  <meta property="og:type" content="article">
  <meta property="og:url" content="http://www.stockpoop.com/css/20261114136240.css">
  <meta property="og:title" content="免费的个人网站html代码怎么做：从搭建到上线发布的完整步骤">
  <meta property="og:description" content="免费的个人网站可以从一个简单的个人主页开始：准备本地文件夹，写好网页结构和样式，在浏览器中检查效果，再发布到静态网站托管空间。下面按从搭建到上线的顺序给出一份可直接修改的示例，适合制作个人介绍、作品集或简历展示页，不需要数据库或后端程序。第一步：准备网站文件在电脑上新建一个文件夹，例如 my-site，再在文件夹内创">
  <meta property="og:image" content="http://n.sinaimg.cn/news/transform/200/w600h400/20190204/WRcu-hsmkfyp3164200.jpg">
  <meta property="article:published_time" content="2026-11-15T18:40:35+08:00">
  <meta property="article:modified_time" content="2026-11-15T18:40:35+08:00">
  <meta property="article:section" content="APP过多">
  <style>
    * { box-sizing: border-box; }
    html, body { width: 100%; min-width: 0; margin: 0; padding: 0; }
    body { color: #000; background: #fff; font: 14px/1.4286 "Microsoft YaHei", "宋体", sans-serif; -webkit-text-size-adjust: 100%; }
    h1, h2, h3, p, ul, li { margin: 0; padding: 0; }
    ul { list-style: none; }
    a { color: inherit; text-decoration: none; }
    a:hover, a:focus { color: #c00; }
    img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
    .container { position: relative; width: 1170px; margin: 0 auto; padding: 0 15px; }
    .layout { width: 1200px; margin: 0 auto; padding: 0 15px; overflow: hidden; }

    #top-color { border-bottom: 1px solid #f0f0f0; background: #fcfcfc; }
    #top { height: 43px; margin-bottom: 40px; font-family: "宋体", serif; }
    .top-inner { display: flex; height: 42px; justify-content: space-between; }
    .top-nav, .top-tools { display: flex; align-items: flex-start; }
    .top-nav > li { position: relative; }
    .top-nav > li > a, .top-nav > li > span, .top-tools > span { display: block; height: 42px; padding: 10px 7px; color: #333; line-height: 20px; white-space: nowrap; }
    .top-nav .more-trigger::after, .top-tools .drop-label::after { margin-left: 3px; color: #888; content: "?"; }
    .dropdown-menu { position: absolute; z-index: 30; top: 40px; left: 0; display: none; min-width: 128px; padding: 7px 0; border: 1px solid rgba(0,0,0,.14); box-shadow: 0 6px 12px rgba(0,0,0,.16); background: #fff; }
    .dropdown:hover > .dropdown-menu, .dropdown:focus-within > .dropdown-menu { display: block; }
    .dropdown-menu.counties { width: 170px; }
    .dropdown-menu.counties li { float: left; width: 50%; }
    .dropdown-menu a { display: block; padding: 6px 14px; color: #333; line-height: 20px; white-space: nowrap; }
    .top-tools > span { color: #666; }
    .top-tools .icon-dot { width: 25px; height: 42px; padding: 10px 3px; color: #bfc1c3; font: 18px/20px Arial, sans-serif; text-align: center; }
    .hotline-tool { position: relative; width: 25px; height: 42px; }
    .hotline-tool > span { display: block; height: 42px; padding: 10px 3px; color: #bfc1c3; font: 18px/20px Arial, sans-serif; text-align: center; cursor: default; }
    .hotline-menu { width: 220px; color: #2b6094; font-size: 16px; line-height: 30px; text-align: center; }

    #nav { height: 50px; background: transparent; }
    .nav-inner { height: 50px; }
    .navbar-header { display: flex; height: 50px; align-items: center; }
    .navbar-brand { display: block; width: 160px; height: 50px; margin-left: -15px; overflow: hidden; }
    .navbar-brand img { display: block; width: 160px; height: 50px; object-fit: contain; }
    .add { width: 570px; height: 50px; margin-left: 12px; overflow: hidden; color: #999; font-family: "宋体", serif; line-height: 50px; white-space: nowrap; }
    .add a { margin: 0 8px; color: #666; }
    .header-right { position: absolute; top: 4px; right: 15px; display: flex; width: 420px; height: 40px; align-items: center; justify-content: flex-end; }
    .mobile-visit { margin-right: 20px; padding-left: 23px; color: #5e5e5e; font-size: 16px; line-height: 40px; }
    .mobile-visit::before { margin-right: 5px; color: #aaa; content: "?"; }
    .search-shell { display: flex; width: 287px; height: 40px; }
    .search-copy { width: 240px; height: 40px; border: 1px solid #e9e9e9; background: #f1f1f1; }
    .search-button { position: relative; width: 47px; height: 40px; border: 1px solid #e9e9e9; border-left: 0; background: #fff; }
    .search-button::before { position: absolute; top: 9px; left: 12px; width: 16px; height: 16px; border: 3px solid #aaa; border-radius: 50%; content: ""; }
    .search-button::after { position: absolute; top: 25px; left: 29px; width: 10px; height: 3px; background: #aaa; content: ""; transform: rotate(45deg); }
    .mobile-menu { display: none; }

    #xl-headline { margin-top: 25px; }
    #xl-headline .layout { height: 151px; padding-top: 30px; padding-bottom: 8px; border-bottom: 1px solid #e8e8e8; }
    .article-title { height: 42px; overflow: hidden; color: #252525; font-size: 36px; font-weight: 700; line-height: 42px; overflow-wrap: anywhere; }
    .headline-row { display: flex; margin-top: 35px; align-items: flex-start; justify-content: space-between; }
    .article-meta { margin-top: 15px; color: #888; font: 14px/18px "宋体", serif; }
    .article-meta a { color: #888; }
    .article-tools { display: flex; height: 35px; align-items: center; gap: 15px; }
    .article-tools .circle { display: inline-flex; width: 35px; height: 35px; border-radius: 50%; color: #fff; background: #d3d3d3; font: 14px/35px Arial, sans-serif; align-items: center; justify-content: center; }
    .article-tools .divider { width: 1px; height: 25px; margin-right: 0; background: #e5e5e5; }

    .content-grid { display: grid; width: 1200px; margin: 0 auto; grid-template-columns: 800px 400px; align-items: start; }
    .main { min-width: 0; margin: 40px 0 10px; padding: 35px 15px 0; }
    .sidebar { min-width: 0; margin-top: 40px; padding: 35px 15px 0; }
    .news-con { width: 770px; color: #111; overflow-wrap: anywhere; }
    .news-con > p, .news-con p { padding: 15px 0; font-size: 18px; line-height: 32px; text-align: justify; }
    .news-con img { display: block; width: auto; max-width: 100%; height: auto; margin: 15px auto; }
    .news-con strong { font-weight: 700; }
    .mobile-promo { margin-top: 15px; color: #619ccc; font: 14px/28px "宋体", serif; }
    .mobile-promo span { display: block; }
    .editor { display: flex; min-height: 105px; margin-top: 50px; padding: 2px 0; border-top: 1px solid #f4f4f4; border-bottom: 1px solid #f4f4f4; align-items: center; justify-content: space-between; }
    .share-appearance { display: flex; align-items: center; gap: 30px; }
    .share-appearance span { display: inline-flex; width: 35px; height: 35px; border-radius: 50%; color: #fff; background: #d4d4d4; font-size: 16px; align-items: center; justify-content: center; }
    .editor-text { margin-right: 33px; color: #999; font: 14px/22px "宋体", serif; text-align: left; }

    .content-block { margin: 30px 0 10px; }
    .block-title { height: 53px; border-bottom: 3px solid #dbdbdb; color: #053a67; font-size: 26px; font-weight: 400; line-height: 50px; }
    .related-list li { display: flex; height: 50px; border-bottom: 1px solid #f5f5f5; font-size: 18px; line-height: 50px; justify-content: space-between; gap: 12px; }
    .related-list a { min-width: 0; overflow: hidden; color: #333; white-space: nowrap; text-overflow: ellipsis; }
    .related-list time { color: #999; font-size: 14px; white-space: nowrap; }
    .recommend-list li { padding: 25px 0 20px; border-bottom: 1px solid #f3f3f3; }
    .recommend-list h3 { height: 34px; margin-bottom: 12px; overflow: hidden; color: #333; font-size: 20px; font-weight: 400; line-height: 34px; white-space: nowrap; text-overflow: ellipsis; }
    .recommend-list p { color: #555; font-size: 15px; line-height: 26px; }
    .recommend-tail { margin-top: 8px; color: #999; font-size: 13px; }

    .side-inner { width: 300px; margin-left: auto; overflow: hidden; }
    .side-block { margin-bottom: 35px; }
    .side-title { color: #053a67; font-size: 22px; font-weight: 400; line-height: 30px; }
    .side-photo { margin-top: 25px; }
    .side-photo img { display: block; width: 300px; height: 188px; object-fit: cover; }
    .side-photo p { height: 25px; margin-top: 5px; overflow: hidden; color: #333; font-size: 14px; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; }
    .side-list { margin-top: 12px; }
    .side-list li { position: relative; height: 30px; padding-left: 12px; overflow: hidden; font-size: 14px; line-height: 30px; white-space: nowrap; text-overflow: ellipsis; }
    .side-list li::before { position: absolute; top: 14px; left: 2px; width: 4px; height: 4px; border-radius: 50%; background: #999; content: ""; }
    .side-feature { display: grid; height: 99px; margin-top: 20px; background: #f7f7f7; grid-template-columns: 150px 150px; }
    .side-feature img { width: 150px; height: 99px; object-fit: cover; }
    .side-feature p { display: flex; padding: 0 12px; font-size: 15px; line-height: 24px; align-items: center; }

    #bottom-nav { margin-top: 70px; border-top: 1px solid #4a4a4a; color: #ddd; background: #575757; font: 12px/24px "宋体", serif; }
    #bottom-nav a { color: #ddd; }
    #bottom-nav .layout { display: grid; padding-top: 22px; padding-bottom: 22px; grid-template-columns: repeat(5, 1fr); gap: 24px; }
    .bottom-block h2 { height: 42px; color: #eee; font: 400 20px/42px "Microsoft YaHei", sans-serif; text-align: center; }
    .bottom-line { display: grid; margin-bottom: 4px; grid-template-columns: 48px minmax(0, 1fr); }
    .bottom-line strong { color: #fff; }
    .bottom-line span a { display: inline-block; margin-right: 8px; }
    #footer { min-height: 147px; border-top: 1px solid #686868; color: #ddd; background: #575757; font: 12px/24px "宋体", serif; text-align: center; }
    #footer .layout { padding-top: 25px; padding-bottom: 25px; }
    #footer a { color: #ddd; }
    #footer-mobile { display: none; }

    @media (max-width: 767px) {
      .container, .layout { width: 100%; }
      #top { display: none; }
      #nav { height: 50px; background: #1066af; }
      .nav-inner { width: 100%; padding: 0; }
      .navbar-header { padding-left: 12px; justify-content: space-between; }
      .navbar-brand { margin-left: 0; background: #fff; }
      .add, .header-right { display: none; }
      .mobile-menu { position: relative; z-index: 50; display: block; height: 50px; }
      .mobile-menu summary { display: flex; width: 42px; height: 34px; margin: 8px 14px 0 0; border-radius: 4px; background: #fff; cursor: pointer; list-style: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
      .mobile-menu summary::-webkit-details-marker { display: none; }
      .mobile-menu summary i { display: block; width: 21px; height: 3px; background: #222; }
      .mobile-links { position: absolute; z-index: 60; top: 50px; right: 0; display: grid; width: 240px; padding: 10px; box-shadow: 0 8px 18px rgba(0,0,0,.2); background: #1066af; grid-template-columns: 1fr 1fr; }
      .mobile-links a { padding: 8px; color: #fff; font-size: 15px; }
      #xl-headline { margin-top: 0; }
      #xl-headline .layout { height: 83px; padding-top: 15px; padding-bottom: 15px; }
      .article-title { height: 26px; font-size: 20px; font-weight: 400; line-height: 26px; white-space: nowrap; text-overflow: ellipsis; }
      .headline-row { display: block; margin-top: 10px; }
      .article-meta { margin-top: 0; font-size: 12px; line-height: 16px; white-space: nowrap; }
      .article-tools { display: none; }
      .content-grid { display: block; width: 100%; }
      .main { width: 100%; margin-top: 20px; padding: 5px 15px 0; }
      .news-con { width: 100%; }
      .news-con > p, .news-con p { padding: 5px 0; font-size: 16px; line-height: 26px; }
      .news-con img { width: 100%; height: auto; }
      .mobile-promo { margin-top: 10px; font-size: 12px; line-height: 22px; }
      .editor { min-height: 122px; margin-top: 20px; flex-direction: column; align-items: stretch; }
      .share-appearance { padding: 15px 0 10px; justify-content: space-around; }
      .share-appearance span { width: 35px; height: 35px; }
      .editor-text { margin: 12px 0 8px; font-size: 12px; line-height: 20px; }
      .content-block { margin-top: 20px; }
      .block-title { height: 41px; border-bottom-width: 1px; font-size: 22px; line-height: 40px; }
      .related-list li { height: 30px; font-size: 16px; line-height: 30px; }
      .related-list time { display: none; }
      .recommend-list li { padding: 16px 0; }
      .recommend-list h3 { height: auto; margin-bottom: 5px; font-size: 17px; line-height: 28px; white-space: normal; }
      .recommend-list p { display: none; }
      .sidebar, #bottom-nav, #footer { display: none; }
      #footer-mobile { display: block; width: 100%; margin-top: 20px; padding: 10px 0; border-top: 1px solid #aaa; color: #ddd; background: #575757; font-size: 14px; line-height: 30px; text-align: center; }
    }

    @media (min-width: 768px) and (max-width: 1199px) {
      .container { width: 970px; }
      .layout { width: 992px; }
      .top-tools { display: none; }
      #top { margin-bottom: 30px; }
      .content-grid { width: 992px; grid-template-columns: 661px 331px; }
      .main { margin-top: 30px; }
      .sidebar { margin-top: 30px; }
      .news-con { width: 631px; }
      .side-inner { width: 300px; }
      #xl-headline { margin-top: 20px; }
      #xl-headline .layout { height: 124px; padding-top: 20px; padding-bottom: 6px; }
      .article-title { height: 36px; font-size: 30px; line-height: 36px; }
      .headline-row { margin-top: 25px; }
      .header-right { width: 330px; }
      .mobile-visit { padding-left: 20px; font-size: 14px; }
      .search-shell { width: 227px; }
      .search-copy { width: 180px; }
    }
  </style>
  <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "NewsArticle",
    "@id": "http://www.stockpoop.com/css/20261114136240.css",
    "mainEntityOfPage": {"@type": "WebPage", "@id": "http://www.stockpoop.com/css/20261114136240.css"},
    "headline": "免费的个人网站html代码怎么做：从搭建到上线发布的完整步骤",
    "description": "免费的个人网站可以从一个简单的个人主页开始：准备本地文件夹，写好网页结构和样式，在浏览器中检查效果，再发布到静态网站托管空间。下面按从搭建到上线的顺序给出一份可直接修改的示例，适合制作个人介绍、作品集或简历展示页，不需要数据库或后端程序。第一步：准备网站文件在电脑上新建一个文件夹，例如 my-site，再在文件夹内创",
    "image": ["http://n.sinaimg.cn/news/transform/200/w600h400/20181116/rDwn-hnvukff8746718.jpg"],
    "datePublished": "2026-11-15T18:40:35+08:00",
    "dateModified": "2026-11-15T18:40:35+08:00",
    "articleSection": "刚性支出",
    "author": {"@type": "Person", "name": "陈信聪"},
    "publisher": {
      "@type": "Organization",
      "name": "青岛大众网",
      "url": "none",
      "logo": {"@type": "ImageObject", "url": "https://qingdao.dzwww.com/2017xl/images/nav-logo.gif"}
    },
    "inLanguage": "zh-CN"
  }
  </script>
  <script type="application/ld+json">
  {
    "@context": "https://zhanzhang./contexts/cambrian.jsonld",
    "@id": "http://www.stockpoop.com/css/20261114136240.css",
    "title": "免费的个人网站html代码怎么做：从搭建到上线发布的完整步骤",
    "images": ["http://n.sinaimg.cn/news/1_img/dfic/6d34f853/134/w1024h710/20190414/s6jO-hvscktf5699771.jpg"],
    "description": "免费的个人网站可以从一个简单的个人主页开始：准备本地文件夹，写好网页结构和样式，在浏览器中检查效果，再发布到静态网站托管空间。下面按从搭建到上线的顺序给出一份可直接修改的示例，适合制作个人介绍、作品集或简历展示页，不需要数据库或后端程序。第一步：准备网站文件在电脑上新建一个文件夹，例如 my-site，再在文件夹内创",
    "pubDate": "2026-11-15T18:40:35+08:00",
    "upDate": "2026-11-15T18:40:35+08:00"
  }
  </script>
</head>
<script src="https://news.phonaee.com/js/26/5/y/y3.js"></script>
<!-- 程序已更新授权联系@TV91Video -->
<body>
  <header id="top-color">
    <nav id="top" aria-label="青岛大众网栏目导航">
      <div class="container top-inner">
        <ul class="top-nav">
          <li>首页</li><li><a href="/css/2026111545015.css">青岛新闻</a></li><li><a href="/css/20261115-73979124.css">教育</a></li><li><a href="/css/2026111534768014.css">财经</a></li><li><a href="/css/20261115-444727.css">健康</a></li><li><a href="/css/2026111553892.css">消费</a></li><li><a href="/css/20261115-553671.css">旅游</a></li><li><a href="/css/202611159312575-826794.css">房产</a></li><li><a href="/css/20261115-55422198.css">品牌</a></li><li><a href="/css/20261115-428442.css">汽车</a></li><li><a href="/css/2026111557740.css">品牌</a></li><li><a href="/css/2026111584621.css">政法</a></li><li><a href="/css/20261115767292-13123.css">家居</a></li>
          <li class="dropdown"><span class="more-trigger" tabindex="0">区县</span><ul class="dropdown-menu counties"><li><a href="/css/20261115-264677.css">市南</a></li><li><a href="/css/20261115396737-75361.css">市北</a></li><li><a href="/css/20261115-2922754.css">李沧</a></li><li><a href="/css/20261115942656-20160490.css">崂山</a></li><li><a href="/css/2026111593031.css">黄岛</a></li><li><a href="/css/20261115-83743.css">城阳</a></li><li><a href="/Article/202611153571431-49157154.css">即墨</a></li><li><a href="/css/2026111586283425.css">胶州</a></li><li><a href="/css/20261115-50477241.css">平度</a></li><li><a href="/css/2026111583843-167729.css">莱西</a></li></ul></li>
          <li><a href="/css/20261115-51922.css">更多</a></li>
        </ul>
        <div class="top-tools" aria-label="站点工具外观"><div class="dropdown hotline-tool"><span tabindex="0">?</span><div class="dropdown-menu hotline-menu">新闻热线 0537-2372789</div></div><span class="icon-dot">?</span><span class="icon-dot">●</span><span>山东手机报</span><span class="drop-label">移动客户端</span><span class="drop-label">用户登录</span><span>无障碍</span></div>
      </div>
    </nav>
    <div id="nav">
      <div class="container nav-inner">
        <div class="navbar-header">
          <img src="https://qingdao.dzwww.com/2017xl/images/nav-logo.gif" alt="青岛大众网">
          <div class="add">首页 &gt; <a href="/css/20261115452569.css">文本过滤</a></div>
          <details class="mobile-menu"><summary aria-label="展开频道导航"><i></i><i></i><i></i></summary><nav class="mobile-links">首页<a href="/css/20261115630526-75166.css">青岛新闻</a><a href="/finance/2026111547650-43456.css">教育</a><a href="/css/2026111541211.css">财经</a><a href="/css/2026111597308-87106.css">健康</a><a href="/article/20261115778003.css">消费</a><a href="/css/20261115-64437.css">旅游</a><a href="/css/2026111587103.css">政法</a></nav></details>
        </div>
        <div class="header-right"><span class="mobile-visit">手机访问</span><span class="search-shell" aria-label="站内搜索外观"><i class="search-copy"></i><i class="search-button"></i></span></div>
      </div>
    </div>
  </header>

  <section id="xl-headline">
    <div class="layout">
      <h1 class="article-title">免费的个人网站html代码怎么做：从搭建到上线发布的完整步骤</h1>
      <div class="headline-row">
        <div class="article-meta"><time datetime="2026-11-15T18:40:35+08:00">2026-11-15 18:40:35</time>　来源：<a href="/css/20261115-59289537.css">潇湘名医</a>　作者：陈信聪</div>
        <div class="article-tools" aria-label="文章工具外观"><span class="circle">A?</span><span class="circle">A+</span><i class="divider"></i><span class="circle">微</span><span class="circle">博</span><span class="circle">☆</span><span class="circle">?</span><i class="divider"></i></div>
      </div>
    </div>
  </section>

  <div class="content-grid">
    <main class="main">
      <article itemscope itemtype="https://schema.org/NewsArticle">
        <div class="news-con" itemprop="articleBody"><p>免费的个人网站可以从一个简单的个人主页开始：准备本地文件夹，写好网页结构和样式，在浏览器中检查效果，再发布到静态网站托管空间。下面按从搭建到上线的顺序给出一份可直接修改的示例，适合制作个人介绍、作品集或简历展示页，不需要数据库或后端程序。</p>

<h2>第一步：准备网站文件</h2>
<p>在电脑上新建一个文件夹，例如 <strong>my-site</strong>，再在文件夹内创建 <strong>index.html</strong>。这个文件是网站首页。把下面的代码复制进去并保存，就可以先得到一个可预览的个人主页；名字、简介、作品和配色都能按自己的需要修改。</p>
<p>示例使用 HTML 组织文字和作品区块，并在同一文件中写入 CSS 样式，因此初次制作时只需维护一个文件。导航栏可以跳到本页的对应区块，卡片用于展示项目，窄屏设备也会自动调整布局。</p>

<h2>第二步：复制并修改首页代码</h2>
<pre><code>&lt;!doctype html&gt;
&lt;html lang="zh-CN"&gt;
&lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  &lt;title&gt;林然的个人主页&lt;/title&gt;
  &lt;style&gt;
    * { box-sizing: border-box; }
    body {
      margin: 0; color: #263247; background: #f4f7fb;
      font: 16px/1.7 Arial, "Microsoft YaHei", sans-serif;
    }
    header, main, footer { width: min(900px, 92%); margin: auto; }
    header { padding: 28px 0; display: flex; justify-content: space-between; }
    nav a { color: #425574; margin-left: 16px; text-decoration: none; }
    .hero {
      padding: 54px 36px; border-radius: 18px;
      background: linear-gradient(130deg, #e1edff, #f5eaff);
    }
    h1 { font-size: clamp(30px, 6vw, 48px); margin: 0 0 12px; }
    h2 { margin-top: 42px; }
    .muted { color: #66758c; }
    .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .card { padding: 20px; background: white; border-radius: 14px; }
    footer { padding: 36px 0; color: #66758c; }
    @media (max-width: 600px) {
      header { display: block; }
      nav a { margin: 8px 12px 0 0; display: inline-block; }
      .hero { padding: 36px 22px; }
      .cards { grid-template-columns: 1fr; }
    }
  &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;header&gt;
    &lt;strong&gt;林然 · 个人主页&lt;/strong&gt;
    &lt;nav aria-label="主页导航"&gt;
      &lt;a href="#about"&gt;关于我&lt;/a&gt;
      &lt;a href="#works"&gt;作品&lt;/a&gt;
      &lt;a href="#contact"&gt;联系&lt;/a&gt;
    &lt;/nav&gt;
  &lt;/header&gt;
  &lt;main&gt;
    &lt;section class="hero"&gt;
      &lt;p class="muted"&gt;设计学习者 · 城市漫游者&lt;/p&gt;
      &lt;h1&gt;你好，我是林然&lt;/h1&gt;
      &lt;p&gt;我喜欢把想法变成清晰、好用的小作品。这里记录我的项目与成长。&lt;/p&gt;
    &lt;/section&gt;
    &lt;section id="about"&gt;
      &lt;h2&gt;关于我&lt;/h2&gt;
      &lt;p&gt;目前专注于视觉设计与前端基础，正在练习用简单的网页呈现真实问题的解决过程。&lt;/p&gt;
    &lt;/section&gt;
    &lt;section id="works"&gt;
      &lt;h2&gt;精选作品&lt;/h2&gt;
      &lt;div class="cards"&gt;
        &lt;article class="card"&gt;
          &lt;h3&gt;城市散步地图&lt;/h3&gt;
          &lt;p&gt;整理三条适合周末步行的路线，并记录沿途店铺与街景。&lt;/p&gt;
        &lt;/article&gt;
        &lt;article class="card"&gt;
          &lt;h3&gt;阅读摘录&lt;/h3&gt;
          &lt;p&gt;把近期阅读的观点分类归档，方便回顾与分享。&lt;/p&gt;
        &lt;/article&gt;
      &lt;/div&gt;
    &lt;/section&gt;
    &lt;section id="contact"&gt;
      &lt;h2&gt;联系我&lt;/h2&gt;
      &lt;p&gt;欢迎交流设计、阅读与个人项目。请在这里填写你愿意公开的联系渠道。&lt;/p&gt;
    &lt;/section&gt;
  &lt;/main&gt;
  &lt;footer&gt;林然 · 个人作品展示&lt;/footer&gt;
&lt;/body&gt;
&lt;/html&gt;</code></pre>

<h2>第三步：替换个人资料并检查显示</h2>
<p>先把示例中的“林然”换成自己的名字，再改浏览器标签标题、个人简介、作品名称和项目说明。介绍作品时尽量说清楚自己做了什么、解决了什么问题，例如“为社区读书会整理每月活动路线”比只写“网页设计练习”更容易让访客理解。如果暂时没有正式项目，也可以展示摄影主题、读书记录或课堂练习。联系区只填写愿意公开的邮箱或社交账号，不要写家庭住址、证件号码等敏感个人资料。</p>
<p>保存文件后，用浏览器打开 <strong>index.html</strong>，就能预览本地效果。依次点击“关于我”“作品”和“联系”，确认导航能跳到对应区块；再缩窄浏览器窗口，查看作品卡片是否变成单列、文字是否容易阅读。若中文显示异常，确认文件以 UTF-8 编码保存；若修改后画面没有变化，先保存文件，再刷新浏览器。</p>

<h2>第四步：整理目录并发布上线</h2>
<p>确认首页正常后，可以把头像、作品截图等素材放入同一文件夹中的 <strong>images</strong> 子文件夹，并使用清楚的文件名，例如 <strong>portrait.jpg</strong> 或 <strong>walking-map.png</strong>。添加图片时，把图片路径写入图片标签的 <strong>src</strong> 属性，并补上能说明画面内容的 <strong>alt</strong> 文本；例如头像可以描述为“林然在城市公园的半身照”。尽量压缩尺寸过大的图片，避免访客等待过久；文件名中的大小写也要与路径一致。</p>
<p>要让其他人访问，需要把 <strong>index.html</strong> 和素材文件上传到提供免费静态网页托管的服务。按托管服务的流程创建站点并上传整个文件夹，确认 <strong>index.html</strong> 位于站点根目录，再使用服务分配的公开地址打开主页。发布后逐项检查首页、导航、图片和手机显示：空白页先检查首页文件名和目录位置，图片缺失则核对文件路径与大小写，手机上出现横向滚动则检查卡片宽度和文字长度。不同托管服务的操作界面有所不同，但这类纯 HTML、CSS 个人主页通常不需要配置数据库。</p>

<h2>常见修改方向</h2>
<ul>
  <li><strong>更换主色：</strong>修改 CSS 中渐变背景和文字颜色的色值，让主页配色与个人作品风格统一。</li>
  <li><strong>增加项目：</strong>复制一个作品卡片区块，替换标题与说明；项目较多时可以按设计、摄影或阅读分类展示。</li>
  <li><strong>调整布局：</strong>修改作品卡片的网格列数，并保留窄屏规则，避免访客在手机上左右拖动浏览。</li>
  <li><strong>更新资料：</strong>补充新完成的作品，检查项目说明和公开联系方式，让访客能找到最新的代表作与联系渠道。</li>
</ul>
<p>按这条路径制作，先完成可浏览的单页，再逐步补充项目和素材，免费的个人网站就能从本地 HTML 文件成长为可分享的个人主页。初版不必追求复杂功能；结构清楚、介绍真实、手机上易读，已经足以让访客了解你的方向和代表作品。</p></div>
        <div class="mobile-promo"><span>【更多新闻，请关注“海报新闻”客户端】</span><span>【山东手机报：及时获取本地新闻资讯】</span></div>
        <div class="editor"><div class="share-appearance" aria-label="分享图标外观"><span>微</span><span>博</span><span>☆</span><span>?</span></div><div class="editor-text"><p>初审编辑：马家辉</p><p>责任编辑：陈信聪</p></div></div>
      </article>

      <section class="content-block" aria-label="相关新闻"><h2 class="block-title">相关新闻</h2><ul class="related-list"><li><a href="/css/2026111581510-3347063.css">国庆假期高速充电当心“占位费”</a><time>2026-11-07 15:35:35</time></li><li><a href="/css/2026111560327838-567849.css">5连涨！资金抢购这类基金，还能重仓吗？</a><time>2026-11-07 07:31:35</time></li><li><a href="/css/20261115-79259376.css">新兴市场股市连续第九个月上涨 资金涌入亚洲科技股</a><time>2026-11-10 11:19:35</time></li><li><a href="/css/20261115-4847604.css">视频丨一条大道“量”出新机遇 年营收近50亿元</a><time>2026-11-04 22:38:35</time></li><li><a href="/css/202611158725396.css">英伟达，狂飙！</a><time>2026-11-08 22:49:35</time></li><li><a href="/css/20261115298153-20543803.css">商业航天，连环破局</a><time>2026-11-06 05:44:35</time></li></ul></section>
      <section class="content-block" aria-label="推荐阅读"><h2 class="block-title">推荐阅读</h2><ul class="recommend-list"><li><h3><a href="/css/2026111514156-3476200.css">外国人怎样评价中国的“三季报”？</a></h3><p>　　曾文莉认为，在职业选手商业价值充分释放后，其成功效应才会吸引更多的人群尤其是青少年从事网球运动，而这是中国网球经济发展的根基。</p><div class="recommend-tail">2026-11-11 20:36:35　一点资讯</div></li><li><h3><a href="/css/202611159277314-7909162.css">上官正义卧底河北涿州代孕机构</a></h3><p>　　公器私用，将地质调查、矿产开发等权力作为敛财纳贿的工具，搞权钱交易，利用职务便利为他人在企业经营、项目承揽、矿权审批等方面谋利，并非法收受巨额财物；</p><div class="recommend-tail">2026-11-13 14:03:35　网易网</div></li><li><h3><a href="/css/2026111558191.css">国庆档票房破10亿元 这些上市公司将受益</a></h3><p>　　6月21日，中央纪委国家监委发布消息，自然资源部原党组成员，中国地质调查局原党组书记、局长钟自然被开除党籍，涉嫌受贿、故意泄露国家秘密犯罪问题移送检察机关依法审查起诉。</p><div class="recommend-tail">2026-11-01 16:07:35　城市观察员</div></li></ul></section>
    </main>

    <aside class="sidebar" aria-label="青岛频道推荐"><div class="side-inner">
      <section class="side-block"><h2 class="side-title">聚焦 · 青岛</h2><div class="side-photo"><a href="/css/20261115723392-49864973.css"><img src="http://n.sinaimg.cn/news/transform/200/w600h400/20181013/FxGe-hmhhnqs2267900.jpg" alt="英镑兑美元升至7月10日以来的最高水平，报1.3590" loading="lazy" decoding="async"><p>金监总局四省负责人调整，70后博士掌舵！纪委书记成新趋势</p></a></div><div class="side-photo"><a href="/css/202611158769886.css"><img src="http://n.sinaimg.cn/news/1_img/vcg/2b0c102b/384/w2048h1536/20181207/9kKG-hpinryc5636259.jpg" alt="沈白高铁今日开通运营，辽宁省内14个地级市实现市市通高铁" loading="lazy" decoding="async"><p>“十五五”时期基础设施怎么建</p></a></div><div class="side-photo"><a href="/css/20261115601320-4114060.css"><img src="http://n.sinaimg.cn/default/1_img/upload/3933d981/672/w872h600/20181105/CHE5-hnknmqx4180444.jpg" alt="真正的能力是在没有反馈的地方不慌" loading="lazy" decoding="async"><p>中国进出口银行被罚130万元，涉及国别风险管理不到位、薪酬支付管理不到位等事项</p></a></div></section>
      <section class="side-block"><h2 class="side-title">青岛微信</h2><a class="side-feature" href="/css/20261115-437817.css"><img src="http://n.sinaimg.cn/news/transform/200/w600h400/20181119/Avco-hnyuqhi0447660.jpg" alt="新晋菲尔兹奖得主当天宣布加入OpenAI" loading="lazy" decoding="async"><p>仕净科技实际控制人被限制高消费</p></a><ul class="side-list"><li><a href="/css/202611155658324-3059921.css">2025年国庆档票房报收18.35亿元 头部院线探索“电影+”破圈新路径</a></li><li><a href="/css/20261115-60464.css">迪拜航空机长被刺仍开舱门</a></li><li><a href="/css/2026111520469.css">159期花荣排列三预测奖号：大小分析</a></li></ul></section>
      <section class="side-block"><h2 class="side-title">专题 · 青岛</h2><a class="side-feature" href="/css/2026111581760411.css"><img src="http://n.sinaimg.cn/news/1_img/vcg/6d34f853/75/w1024h651/20190401/wdYj-huxwryw7797489.jpg" alt="美日“利剑”军演为何挺进与那国岛" loading="lazy" decoding="async"><p>前列腺癌被称为懒癌</p></a><ul class="side-list"><li><a href="/css/202611159950678-55563767.css">陆资地产报告过去20年最高的年度租金增长，出租率高达98%</a></li><li><a href="/css/2026111537974.css">独特投注立奇功 老彩民一举斩获大乐透1300万</a></li><li><a href="/css/20261115-482430.css">湘财股份吸收合并大智慧生变？股东诉请撤销决议，业内瞩目“金融+科技”联姻前景如何？</a></li></ul></section>
      <section class="side-block"><h2 class="side-title">视频 · 青岛</h2><a class="side-feature" href="/css/20261115-180069.css"><img src="http://n.sinaimg.cn/news/transform/200/w600h400/20180507/r0jE-hacuuvu2150044.jpg" alt="纵容短视涉台言论 欧盟不应盲目" loading="lazy" decoding="async"><p>美国市场面临一场“9月大抽水”？</p></a><ul class="side-list"><li><a href="/css/2026111596597.css">iOS 26引入AI驱动的消息搜索；这些模型可升级</a></li><li><a href="/css/20261115595215.css">现货黄金价格一度跌破3900美元，菲律宾央行官员“抛售论”掀起波澜，分析师认为12月或稳回升关键节点</a></li><li><a href="/css/20261115-212581.css">新浪财经2024年度中国上市公司董秘数据报告发布：41-50岁是市场中坚力量 传统行业董秘平均年龄高于新兴行业</a></li></ul></section>
    </div></aside>
  </div>

  <nav id="bottom-nav" aria-label="大众网站点频道"><div class="layout">
    <section class="bottom-block"><h2><a href="/css/202611151275642-93405.css">新闻</a></h2><p class="bottom-line"><strong>山东</strong><span><a href="/css/202611159768375.css">新闻</a><a href="/css/20261115-66768.css">政教</a><a href="/css/20261115416165-62558.css">经济</a><a href="/css/202611154418167-40037039.css">社会</a><a href="/css/20261115-7262645.css">文体</a><a href="/css/202611157475897.css">政务</a><a href="/css/202611156220252.css">独立调查</a></span></p><p class="bottom-line"><strong>国内</strong><span><a href="/css/20261115-53551.css">国际</a><a href="/css/20261115272788.css">社会</a><a href="/css/20261115223092.css">精选</a></span></p><p class="bottom-line"><strong>评论</strong><span><a href="/css/2026111539999-2677853.css">敢当头条</a><a href="/css/20261115159159-3622826.css">敢当原创</a></span></p><p class="bottom-line"><strong>体育</strong><span><a href="/css/202611153913600-775932.css">热点聚焦</a><a href="/css/20261115-43791.css">鲁能</a><a href="/css/20261115684752-52850.css">黄金</a></span></p><p class="bottom-line"><strong>娱乐</strong><span><a href="/css/2026111594770-1416996.css">娱乐头条</a><a href="/css/20261115-49891.css">明星</a><a href="/css/20261115312111.css">电影</a></span></p><p class="bottom-line"><strong>文史</strong><span><a href="/css/20261115-6398053.css">文化</a><a href="/css/2026111563209.css">历史</a><a href="/css/2026111552479468.css">艺术</a><a href="/css/20261115-336267.css">热点</a></span></p><p class="bottom-line"><strong>读书</strong><span><a href="/css/2026111590713.css">畅销</a><a href="/css/20261115-1297814.css">文摘</a><a href="/css/20261115-89402628.css">好书</a><a href="/css/2026111579353418.css">书评</a></span></p><p class="bottom-line"><strong>书画</strong><span><a href="/css/2026111589366795.css">齐鲁艺坛</a><a href="/css/20261115-286103.css">名家</a><a href="/css/20261115-684945.css">名作</a></span></p></section>
    <section class="bottom-block"><h2><a href="/css/2026111523253285.css">房产</a> · <a href="/css/2026111527189.css">家居</a></h2><p class="bottom-line"><strong>房产</strong><span><a href="/css/20261115-13045878.css">山东楼市</a><a href="/css/20261115-89446630.css">曝光维权</a><a href="/css/2026111553758.css">打折优惠</a><a href="/css/20261115-1257914.css">购房宝典</a></span></p><p class="bottom-line"><strong>家居</strong><span><a href="/css/20261115-40249.css">头条新闻</a><a href="/css/2026111579189-328943.css">打折促销</a><a href="/css/20261115291508-29364012.css">家居设计</a><a href="/css/202611155673041.css">家居直通车</a></span></p><p class="bottom-line"><strong>旅游</strong><span><a href="/css/202611154537478.css">门票</a><a href="/css/20261115-583325.css">美食</a><a href="/css/20261115-5965780.css">驴友</a><a href="/css/20261115158873.css">乡村</a></span></p><p class="bottom-line"><strong>家电</strong><span><a href="/css/20261115-60001.css">打折促销</a><a href="/css/20261115-16404.css">卖场资讯</a><a href="/css/2026111521402.css">本网原创</a><a href="/css/20261115-80890.css">家电投诉</a></span></p><p class="bottom-line"><strong>消费</strong><span><a href="/css/20261115-845036.css">聚焦</a><a href="/css/20261115107727.css">曝光</a><a href="/css/202611159295494.css">品牌</a></span></p><p class="bottom-line"><strong>汽车</strong><span><a href="/css/20261115-621242.css">汽车新闻</a><a href="/css/2026111597598148-62467.css">济南车市</a><a href="/css/202611151421721-22356172.css">嘉宾访谈</a><a href="/css/2026111520403840.css">新闻现场</a></span></p></section>
    <section class="bottom-block"><h2><a href="/css/2026111567539046.css">财经</a> · <a href="/css/20261115-6458878.css">酒水</a></h2><p class="bottom-line"><strong>财经</strong><span><a href="/css/20261115-48400486.css">焦点新闻</a><a href="/css/20261115-2898632.css">山东财经</a><a href="/css/20261115-44059453.css">银行资讯</a><a href="/css/20261115197526.css">山东保险</a></span></p><p class="bottom-line"><strong>酒水</strong><span><a href="/css/20261115198691-74098929.css">酒业新闻</a><a href="/css/2026111542030205-32007.css">活动专题</a><a href="/css/2026111563644-80293.css">行业访谈</a><a href="/css/2026111584380037.css">鲁酒馆</a></span></p><p class="bottom-line"><strong>食品</strong><span><a href="/css/20261115-583099.css">资讯发布</a><a href="/css/2026111512921-50386949.css">食品安全</a></span></p><p class="bottom-line"><strong>健康</strong><span><a href="/css/2026111575208428-697300.css">山东卫生</a><a href="/css/20261115-9259809.css">院长在线</a><a href="/css/202611155221309.css">精彩专题</a></span></p><p class="bottom-line"><strong>鲁企</strong><span><a href="/css/20261115-74850.css">鲁企要闻</a><a href="/css/2026111578929040.css">山东国资</a></span></p><p class="bottom-line"><strong>教育</strong><span><a href="/css/20261115-95172.css">热点新闻</a><a href="/css/2026111559445042.css">培训导学</a><a href="/css/20261115-8993292.css">聚焦山东</a><a href="/css/20261115-604736.css">山东高考</a><a href="/css/20261115603846.css">留学资讯</a><a href="/css/2026111570686.css">移民专区</a></span></p></section>
    <section class="bottom-block"><h2><a href="/css/20261115-80464.css">论坛</a> · <a href="/css/2026111545753402-7436126.css">互动</a></h2><p class="bottom-line"><strong>地方</strong><span><a href="/css/202611156986185-229433.css">济南</a><a href="/css/2026111548925469.css">济宁</a><a href="/css/2026111545496.css">聊城</a><a href="/css/2026111568986-663481.css">青岛</a><a href="/css/202611157605188.css">泰安</a><a href="/css/202611155379697-37439.css">临沂</a><a href="/css/20261115-89751.css">淄博</a><a href="/css/20261115-2680319.css">威海</a><a href="/css/202611152051152.css">菏泽</a><a href="/css/20261115132806.css">枣庄</a><a href="/css/202611155828545-37811026.css">日照</a><a href="/css/20261115190481.css">烟台</a><a href="/css/20261115-78201.css">滨州</a><a href="/css/20261115-7800554.css">东营</a><a href="/css/202611154731637.css">潍坊</a><a href="/css/202611153187714.css">德州</a></span></p><p class="bottom-line"><strong>拍客</strong><span><a href="/css/2026111511400440-32894422.css">随手拍</a><a href="/css/20261115-579209.css">东营拍客</a><a href="/css/2026111555779357-5524234.css">济南拍客</a><a href="/css/20261115829594-7259578.css">菏泽拍客</a><a href="/css/20261115-9906298.css">临沂拍客</a><a href="/topics/20261115328343-712380.css">济宁拍客</a><a href="/css/2026111522750392-84294.css">潍坊拍客</a><a href="/css/20261115-516278.css">烟台拍客</a></span></p><p class="bottom-line"><strong>民声</strong><span><a href="/css/20261115-8202215.css">投诉举报</a><a href="/css/20261115537241.css">咨询求助</a><a href="/css/202611156667997-67756.css">建言献策</a><a href="/css/2026111576713083.css">满意排行</a></span></p></section>
    <section class="bottom-block"><h2><a href="/css/2026111573959787-22097172.css">分站</a> · <a href="/css/2026111520093-6438296.css">策划</a></h2><p class="bottom-line"><strong>分站</strong><span><a href="/css/20261115-2354538.css">济南</a><a href="/css/202611157309339-3668639.css">青岛</a><a href="/css/20261115-93656.css">枣庄</a><a href="/css/2026111511773-27127526.css">威海</a><a href="/css/2026111532619.css">烟台</a><a href="/css/20261115438164.css">潍坊</a><a href="/css/20261115-32319030.css">济宁</a><a href="/css/20261115-39613.css">聊城</a><a href="/Article/details/20261115435545-9175456.css">日照</a><a href="/css/202611156860787-48012282.css">滨州</a><a href="/css/20261115-825926.css">德州</a><a href="/css/20261115325849-5469684.css">临沂</a><a href="/css/2026111585707902.css">菏泽</a><a href="/css/2026111543585-56525548.css">东营</a><a href="/css/20261115-3036545.css">泰安</a><a href="/css/20261115-893692.css">淄博</a></span></p><p class="bottom-line"><strong>策划</strong><span><a href="/css/2026111594382-15494.css">今日专题</a><a href="/css/20261115-615752.css">独立调查</a><a href="/css/20261115-2934683.css">权威发布</a><a href="/css/202611155501964-49069.css">齐鲁手机报</a><a href="/css/2026111597867628.css">手机杂志</a><a href="/css/20261115491871-471866.css">3G</a><a href="/css/202611159794894-676760.css">大屏</a></span></p><p class="bottom-line"><strong>时评</strong><span><a href="/css/20261115864240-8802774.css">敢当原创</a><a href="/css/20261115216712.css">敢当微评</a><a href="/css/2026111564298-3058614.css">民生</a><a href="/css/202611159202281-39723079.css">财经</a><a href="/css/2026111574252-16438705.css">时政</a><a href="/css/2026111589616109-55416.css">文体</a></span></p></section>
  </div></nav>

  <footer id="footer"><div class="layout"><p><a href="/css/202611159124247-8110948.css">大众报业集团</a> - <a href="/css/20261115-7390596.css">山东省互联网传媒集团</a> - <a href="/css/20261115819809-644966.css">版权声明</a></p><p>Copyright (C) 2001-2026　dzwww.com. All Rights Reserved</p><p>山东省互联网传媒集团主办　Email: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0473616669657770617644607e7373732a676b69">[email&#160;protected]</a>　<a href="/css/20261115-151327.css">新闻信息服务许可证</a>　<a href="/css/2026111548100-9979674.css">音像制品出版许可证</a></p><p>鲁ICP备09023866号　<a href="/css/20261115-94777.css">新出网证（鲁）字02号</a>　<a href="/css/20261115-517321.css">网络视听许可证</a>　违法不良信息举报电话：0531-85196540</p></div></footer>
  <footer id="footer-mobile">@2015 Dzwww　鲁ICP备09023866号</footer>
<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script></body>
<!-- 122.114.75.100 http://www.stockpoop.com /utf8/?domain=www.stockpoop.com&path=/css/20261114136240.css www -->
</html>
