|  | 
 
| 
效果入图
×
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。您需要 登录 才可以下载或查看,没有账号?立即注册 
  
  建立一个文本文件,将下面代码复制到文本文件里面,根据自己的喜好修改相关内容,然后把文本文件的TXT后缀修改成HTML,双击运行即可
 
 
 
 复制代码<!DOCTYPE html>
<html>
<head>
        <meta charset="UTF-8">
        <title>公告</title>
        <style>
                body {
                        margin: 0;
                        padding: 0;
                        font-family: Arial, sans-serif;
                }
                header {
                        background-color: #4078c0;
                        padding: 20px 0;
                }
                h1, h2 {
                        margin: 0;
                        color: #fff;
                        text-align: center;
                }
                h2 {
                        font-size: 1.2em;
                        margin-top: 10px;
                        font-weight: normal;
                }
                .container {
                        max-width: 800px;
                        margin: 0 auto;
                        padding: 20px;
                        box-sizing: border-box;
                }
                .btn {
                        display: inline-block;
                        padding: 10px 20px;
                        background-color: #fff;
                        color: #4078c0;
                        border: none;
                        border-radius: 4px;
                        text-decoration: none;
                        font-size: 1em;
                        font-weight: bold;
                        cursor: pointer;
                        margin-top: 20px;
                        transition: background-color 0.2s ease-in-out;
                }
                .btn:hover {
                        background-color: #4078c0;
                        color: #fff;
                }
                .notice {
                        background-color: #f5f5f5;
                        border: 1px solid #ddd;
                        padding: 20px;
                        box-sizing: border-box;
                }
                .notice h3 {
                        color: #333;
                        margin-top: 0;
                }
                .notice p {
                        margin-top: 10px;
                        line-height: 1.5;
                }
        </style>
</head>
<body>
        <header>
                <h1>服务变更公告</h1>
        <!--        <h2>最新消息和更新</h2>-->
        </header>
        <div class="container">
                <div class="notice">
                        <h3>公告标题</h3>
                        <p>由于服务变更,原地址:www.vyfourm.co地址已经无法访问,使用使用新的地址进行访问:http://tl.tjxdz.cn</p>
                        <a href="http://tl.tjxdz.cn" class="btn">泰骏兴电子论坛</a>
                </div>
        </div>
</body>
</html>
 
 
 
 | 
 |