College students' film and television theme webpage production HTML+CSS+JS imitation 360 film and television website dreamweaver movie HTML website production

HTML example web page code, this example is suitable for students who are beginners in HTML. In this example, there are css style settings and div style patterns. This example is more comprehensive and helpful for students to learn. This article will introduce how to practice design by designing a personal website from scratch and converting it into code .

1. Web page introduction

1 Web page introduction : This work is the theme of student personal homepage web design, HTML+CSS layout production, web front-end final assignment, college student web design homework source code, this is a good web page production, the picture is smart, the code is simple student level, very Suitable for beginners to learn to use.

2. Webpage editing : The code of the webpage works is simple, and any HTML editing software can be used (such as: Dreamweaver, HBuilder, Vscode, Sublime, Webstorm, Text, Notepad++ and other arbitrary HTML editing software to run, modify and edit, etc.).

3. Knowledge application : In terms of technology, it mainly applies web page knowledge: Div+CSS, mouse over effects, Table, navigation bar effects, Banner, forms, secondary and tertiary pages, etc., video, audio elements, Flash, and design at the same time Knowledge points required for Logo (source file).


1. Web page effect

insert image description here

2. Code display

1.HTML code

The code is as follows (example): The following only shows part of the code for reference~


    <div class="hdbox">
        <div class="hd_main clearfix">
            <h1>
                <a class="logo" href="javascript:;">360影视</a>
            </h1>
            <div class="hd_inp clearfix">
                <input id="hd_text" class="hd_text" type="text" placeholder="你怎么可以这么懒" value="" />
                <input class="hd_button" type="button" value="" />
                <div id="inplist" class="inplist"><img src="img/toulan1.jpg" /></div>
            </div>
            <ul class="hdul clearfix fl" id="hdul">
                <li><a href="javascript:;"><span class="bg1"></span>我的影视</a></li>
                <li>
                    <a href="javascript:;">观看记录
                    <span class="bg2"></span>
                    <div class="seelist"><i></i>暂无观看记录</div>
                </a>
                </li>
                <li><a href="javascript:;"><span class="bg3"></span>APP下载</a></li>

            </ul>
        </div>
    </div>


2. CSS code


body {
    
    
    background: #f4f4f4;
    overflow-x: hidden;
}

.hdbox {
    
    
    height: 70px;
    border-bottom: 2px solid #fd8d4e;
    background: #fff;
}

.hd_main {
    
    
    width: 1240px;
    height: 70px;
    margin: 0 auto;
}

h1 {
    
    
    width: 150px;
    height: 45px;
    margin-top: 14px;
    float: left;
}

.logo {
    
    
    display: inline-block;
    text-indent: -999em;
    width: 150px;
    height: 45px;
    background: url(../img/logo.png) no-repeat;
}

.hd_inp {
    
    
    width: 500px;
    height: 38px;
    float: left;
    margin-top: 18px;
    margin-left: 194px;
    position: relative;
}

.hd_text {
    
    
    width: 448px;
    height: 38px;
    background: #eee;
    padding-left: 14px;
    border-radius: 5px;
    float: left;
}

.hd_button {
    
    
    width: 38px;
    height: 38px;
    display: inline-block;
    background: url(../img/search_btn.png) no-repeat;
    float: left;
    cursor: pointer;
}

.inplist {
    
    
    width: 498px;
    height: 290px;
    border: 1px solid #fd8d4e;
    position: absolute;
    left: 0;
    top: 38px;
    background: #fff;
    display: none;
    z-index: 10;
}

.hdul li {
    
    
    width: 88px;
    height: 26px;
    margin-left: 22px;
    float: left;
    position: relative;
}

.hdul li a {
    
    
    display: inline-block;
    color: #666;
    width: 100%;
    height: 100%;
    text-align: right;
    font-size: 15px;
    line-height: 28px;
}



3. Personal summary

A set of qualified web pages should include (specifically, it can be determined according to individual requirements)

  1. The page is divided into four parts: the header, the menu navigation bar (preferably pull down), the middle content section, and the footer;
  2. All pages are hyperlinked to each other, and you can go to the third-level page, which consists of 5-10 pages;
  3. The unified layout of the page style is normal, not messy, using Div+Css technology;
  4. The menu is beautiful and eye-catching, and the secondary menu can pop up and jump normally;
  5. There must be JS special effects, such as timing switching and manual switching of picture news;
  6. There are multimedia elements in the page, such as gif, video, music, and the use of form technology;
  7. The page is clean, beautiful, generous, and not the same.
  8. The front-end program of the website must not only be able to present the content required by the user, but also meet the requirements of good layout, beautiful interface, elegant color matching, and various forms of expression.

Four. Experience

Many developers believe that long-term design is an innate ability, and creativity is innate. But design is a skill that can be learned like anything else. You don’t have to be a born artist to create a beautiful website. It takes practice. You don’t know the limitations too much. You have to follow the idea of ​​the content you want. The more you look back at your site, the less pleasing it is, and there is no achievement. feel.

① Stand out from the crowd. Many developers like to port pages from other sites, and it's easy to see that it wasn't designed by them. If the purpose of your personal website is to show your ability, then using a template may reduce others' affirmation of you, and the unique style of your own design will make your site stand out among many sites.

② practice skills. Designing it will help you practice design principles, tools, HTML and CSS. It will be easier for you to develop user interfaces and bring them to the web. Design a personal site that is unique and modern.

When I was doing private work before, I didn’t know how to design pages, and when I moved other site pages, I didn’t know how to use tools when I modified pictures and some pages. The designed pages were rigid and inflexible, and the customers were not satisfied. Ordinary, does not give you the feeling of heart.

③ Better application performance. Your website will be lightweight and have better performance with custom CSS. If you're including a U library or template, it's likely to contain a lot of code to cover every possible customization you're not using. If unused code is sent to users, it can negatively impact your site's performance. Slow loading and slow opening of web pages are not accepted by many people.

④ Development of vocational skills. In a web development role, you may not have to implement a complete website design from scratch, but you should be able to produce a great-looking interface that is consistent with modern designs. Becoming a "full-stack developer" usually means being proficient in back-end languages ​​or front-end JavaScript frameworks, and at the same time being familiar with design and product knowledge. A full-stack developer should have some basic design knowledge and be able to provide users with a consistent experience. Of course, there is no doubt that I have learned a lot of technical knowledge from it.

⑤It might be interesting. It's a fun experience creating something you're proud of. If you spend some time practicing it, thinking about it, it is better to learn from it. Finding beauty in life is a beautiful thing, but I think creating beauty is more proud.


Five, wonderful recommendation

If you see this, please support me 【点赞,好评,收藏】three times. Your support is the driving force for my creation.

Guess you like

Origin blog.csdn.net/p305114466/article/details/128070605