代码改变世界

自己写的一个简单的页面

  Rollen Holt  阅读(512)  评论(0编辑  收藏  举报

css代码如下:

  html代码如下(有兴趣的童鞋可以自行添加javascript,使得它更加的生动)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="author" content="Luka Cvrk (www.solucija.com)" />
    <meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
    <link rel="stylesheet" href="home.css" type="text/css" />
    <title>Internet Studio</title>
</head>
<body>
    <div id="content">
        <div id="logo">
            <p>Consectetuer adipiscing elit</p>
            <h1>Internet Studio</h1>
        </div>
        <ul id="menu">
            <li><a class="current" href="#">Home</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Refrences</a></li>
            <li><a href="#">Career</a></li>
            <li><a href="#">About</a></li>
        </ul>
         
        <div class="clear"><br /></div>
         
        <div id="left">
            <div class="caption"><p>References</p></div>
            <div class="box">
                <a href="http://www.solucija.com/home/css-templates/"><img src="images/icor.gif" alt="Internet Corporation" /></a>
                <a href="http://www.solucija.com/home/css-templates/"><img src="images/ihos.gif" alt="Internet Hosting" class="smallthumb" /></a> <a href="http://www.solucija.com/home/css-templates/"><img src="images/ibroa.gif" alt="Internet Broadcast" class="smallthumb" /></a>
            </div>
        </div>
         
        <div id="center">
            <div class="caption"><p>Latest Articles</p></div>
            <div class="box">
                <ul>
                    <li><a href="#">Aliquam metus turpis, luctus ac</a></li>
                    <li><a href="#">Donec lacinia tristique ante</a></li>
                    <li><a href="#">Mauris facilisis, quam ut semper</a></li>
                    <li><a href="#">Curabitur sodales lacus at massa</a></li>
                    <li><a href="#">Etiam blandit ultricies nisl</a></li>
                    <li><a href="#">Phasellus vel leo</a></li>
                    <li><a href="#">Nam gravida nulla non eros</a></li>
                    <li><a href="#">Curabitur sollicitudin nonummy est</a></li>
                    <li><a href="#">Suspendisse egestas fringilla odio</a></li>
                    <li><a href="#">Maecenas libero neque volutpat</a></li>
                    <li><a href="#">Curabitur sodales lacus at massa</a></li>
                </ul>
            </div>
        </div>
         
        <div id="right">
            <h2>This is an example title</h2>
            <p>Suspendisse egestas fringilla odio. Donec lacinia tristique ante. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam blandit ultricies nisl. Nullam dapibus, mauris id scelerisque feugiat, sapien augue porta ipsum, ut blandit tellus enim vel mauris. Praesent accumsan metus vel ipsum. Maecenas aliquam blandit mi. Pellentesque dolor magna, posuere vel, condimentum id, accumsan ac, diam.</p>
            <p>Nulla venenatis, turpis eu vestibulum tincidunt, felis diam luctus velit, facilisis cursus mi ligula vitae nunc. Curabitur libero. Fusce felis. Nam gravida nulla non eros. Donec non nisl. Nulla ut odio. Curabitur sollicitudin nonummy est. Nullam molestie lectus quis nibh. </p>
            <p class="date"><a href="#">Comment(5)</a> · <a href="#">Read More</a></p>
        </div>
         
        <div id="footer">
            <div id="fl">
                <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut pretium mauris nec arcu. Integer at leo vel ipsum elementum sodales. Nam est quam, posuere non, feugiat nec, consectetuer ac, lectus. Suspendisse egestas fringilla odio. Donec lacinia tristique ante. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
                <p>© Copyright 2007 Internet Studio<br />
                Design: <a href="http://www.solucija.com/">Luka Cvrk</a> · Sponsored by <a href="http://webpoint.wordpress.com/">B4Contact</a> · Released under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Licence</a></p>
            </div>
        </div>
    </div>
</body>
</html>

  

编辑推荐:
· Linux glibc自带哈希表的用例及性能测试
· 深入理解 Mybatis 分库分表执行原理
· 如何打造一个高并发系统?
· .NET Core GC压缩(compact_phase)底层原理浅谈
· 现代计算机视觉入门之:什么是图片特征编码
阅读排行:
· 手把手教你在本地部署DeepSeek R1,搭建web-ui ,建议收藏!
· Spring AI + Ollama 实现 deepseek-r1 的API服务和调用
· 数据库服务器 SQL Server 版本升级公告
· C#/.NET/.NET Core技术前沿周刊 | 第 23 期(2025年1.20-1.26)
· 程序员常用高效实用工具推荐,办公效率提升利器!
点击右上角即可分享
微信分享提示