個(gè)人網(wǎng)站

哈哈哈,第一次編輯屬于自己的主頁(yè),不知道怎么做,學(xué)的內(nèi)容也不太熟練,既麻煩又簡(jiǎn)陋(T_T)

代碼

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>個(gè)人主頁(yè)</title>
<style>
.box{
    width :600px;
    height: 500px;
}
.head{
    width:600px;
    height:280px;
    background:  #97b8d7 url(hanpengda.jpg) no-repeat 445px 10px;
    position: relative;
}
.head1{
    width:260px;
    height:35px;
    position: absolute;
    left:150px;
    top:130px;
    font:bold 25px/35px "宋體";
    color:#fff;
    text-align: center;
    background:#5f9bcf;
}
.head2{
    width:260px;
    height:20px;
    position: absolute;
    left:150px;
    top:175px;
    font:bold 15px/20px "宋體";
    color:#fff;
    text-align: center;
    background:#6a85a2;
}
.body{
    width:600px;
    height:220px;
    background: #ffc907;
    font-size:10px;
    position: relative;
}
.body0{
    width:130px;
    height:30px;
    position: absolute;
    left:235px;
    top:10px;
    font:bold 25px/30px "宋體";
    color:#fff;
    text-align: center;
}
.body1{
    width:100px;
    position: absolute;
    left:150px;
    top:60px;
    background: #dcb527;
}
.body2{
    width:100px;
    position: absolute;
    left:400px;
    top:60px;
    background: #dcb527;
}
.body3{
    width:100px;
    position: absolute;
    left:150px;
    top:90px;
    background: #dcb527;
}
.body4{
    width:100px;
    position: absolute;
    left:400px;
    top:90px;
    background: #dcb527;
}
.body5{
    width:100px;
    position: absolute;
    left:150px;
    top:120px;
    background: #dcb527;
}
.body6{
    width:100px;
    position: absolute;
    left:400px;
    top:120px;
    background: #dcb527;
}
.body7{
    width:100px;
    position: absolute;
    left:150px;
    top:150px;
    background: #dcb527;
}
.body8{
    width:100px;
    position: absolute;
    left:400px;
    top:150px;
    background: #dcb527;
}
.body9{
    width:100px;
    position: absolute;
    left:150px;
    top:180px;
    background: #dcb527;
}
.body10{
    width:100px;
    position: absolute;
    left:400px;
    top:180px;
    background: #dcb527;
}
.body11{
    width:35px;
    height:20px;
    position: absolute;
    left:95px;
    top:61px;
}
.body12{
    width:35px;
    height:20px;
    position: absolute;
    left:345px;
    top:61px;
}
.body13{
    width:35px;
    height:20px;
    position: absolute;
    left:95px;
    top:91px;
}
.body14{
    width:50px;
    height:20px;
    position: absolute;
    left:345px;
    top:91px;
}
.body15{
    width:35px;
    height:20px;
    position: absolute;
    left:95px;
    top:121px;
}
.body16{
    width:35px;
    height:20px;
    position: absolute;
    left:345px;
    top:121px;
}
.body17{
    width:50px;
    height:20px;
    position: absolute;
    left:95px;
    top:151px;
}
.body18{
    width:35px;
    height:20px;
    position: absolute;
    left:345px;
    top:151px;
}
.body19{
    width:35px;
    height:20px;
    position: absolute;
    left:95px;
    top:181px;
}
.body20{
    width:50px;
    height:20px;
    position: absolute;
    left:345px;
    top:181px;
}
</style>
</head>
<body>
    <div class="box">
        <div class="head">
            <div class="head1">Hi,I am HanPengda</div>
            <div class="head2">This is my personal homepage</div>
        </div>
        <div class="body">
            <div class="body0">My Profile</div>
            <form action="">
                <input type="text" name="text" value="韓鵬達(dá)" class="body1">
                <input type="text" name="text" value="男" class="body2">
                <input type="text" name="text" value="漢" class="body3">
                <input type="text" name="text" value="1997.08" class="body4">
                <input type="text" name="text" value="學(xué)生" class="body5">
                <input type="text" name="text" value="大學(xué)本科" class="body6">
                <input type="text" name="text" value="遼寧科技大學(xué)" class="body7">
                <input type="text" name="text" value="通信工程(‵▽ ′ )" class="body8">
                <input type="text" name="text" value="一心只愛(ài)學(xué)習(xí)!" class="body9">
                <input type="text" name="text" value="15941265505" class="body10">
            </form>
            <div class="body11">姓名</div>
            <div class="body12">性別</div>
            <div class="body13">民族</div>
            <div class="body14">出生年月</div>
            <div class="body15">職業(yè)</div>
            <div class="body16">學(xué)歷</div>
            <div class="body17">在讀學(xué)校</div>
            <div class="body18">專業(yè)</div>
            <div class="body19">愛(ài)好</div>
            <div class="body20">聯(lián)系方式</div>
        </div>
    </div>
</body>
</html>

效果圖截圖

Paste_Image.png

百度網(wǎng)盤(pán)鏈接: http://pan.baidu.com/s/1bp25Tdd
密碼: 8yb6

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 這一個(gè)月里我像消失了一樣...好久沒(méi)敲碼了 手都有點(diǎn)生疏了我的拖延癥又犯了... 可怕..不過(guò)自己欠的債 遲早是要...
    9妹9妹閱讀 277評(píng)論 1 1
  • 第一步:阿里云申請(qǐng)(買(mǎi))一個(gè)個(gè)人域名(略) 第二步:選擇一個(gè)服務(wù)器,我選的是亞馬遜的AWS,單純只是因?yàn)閬嗰R遜第一...
    我就是沉沉閱讀 19,027評(píng)論 6 21
  • 自古以來(lái),不管是東方人還是西方人,都非常重視早餐。人們認(rèn)為,早餐是一天中第一餐,也是最重要的一餐。 然而,隨著經(jīng)濟(jì)...
    Zermatt閱讀 4,169評(píng)論 0 0
  • 揮手告別父母,牽著歸心似箭的小兒,踏上歸家的路。隨著一盞盞路燈的后退,父母和家鄉(xiāng)也在黑夜里漸遠(yuǎn)。 兒子一上車(chē)就安靜...
    蓮城閱讀 452評(píng)論 0 50
  • 天沒(méi)亮,城市睡得正沉——一切深合我意。我背包出門(mén),悄然開(kāi)始自己的行程。我嘴巴安靜閉著,胸膛里卻一直有個(gè)聲音,在響亮...
    九曲胡同閱讀 781評(píng)論 0 2

友情鏈接更多精彩內(nèi)容