Web page design - The Lord of the Rings: The Fellowship of the Ring (13 pages) Movie web design online movie production personal design web front-end big homework

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
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
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~

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="overflow: auto; overflow-x:hidden;">
  <head>
  <title>指环王:护戒使者电影</title>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
  <link rel="stylesheet" type="text/css" href="css/screen.css" />
  <script src="js/jquery.min.js"></script>
  <script src="js/jquery.flexslider-min.js"></script>
  <script type="text/javascript">
		$(window).load(function() {
      
      
			$('.flexslider').flexslider();
		});
  </script>
  <link rel="stylesheet" href="css/lrtk.css" type="text/css" media="screen" />
  </head>
  <body>
<div class="wrapper">
    <div class="top">
    <div class="top_link"><a href="#">设为首页</a> | <a href="#" class="link2">加入收藏</a></div>
  </div>
    <!--end of top-->
    <div class="nav">
    <ul>
        <li><a href="index.html">网站首页</a></li>
        <li><a href="gushi.html">故事背景</a></li>
        <li><a href="juese.html">角色介绍</a></li>
        <li><a href="huaxu.html">幕后花絮</a></li>
        <li><a href="huojiang.html">获奖记录</a></li>
        <li><a href="zhizuo.html">幕后制作</a></li>
        <li><a href="pinjia.html">影片评价</a></li>
      </ul>
  </div>
    <!--end of nav-->
    <div id="banner">
    <div class="flexslider">
        <ul class="slides">
        <li><a href="#" > <img src="image/ad1.jpg"  width="1010" /></a> </li>
        <li><a href="#" > <img src="image/ad2.jpg"  width="1010" /></a> </li>
        <li><a href="#" > <img src="image/ad3.jpg"  width="1010" /></a> </li>
        <li><a href="#" > <img src="image/ad4.jpg"  width="1010" /></a> </li>
        <li><a href="#" > <img src="image/ad5.jpg"  width="1010" /></a> </li>
        <li><a href="#" > <img src="image/ad6.jpg"  width="1010" /></a> </li>
      </ul>
      </div>
  </div>
    <!--end of banner-->
    <div class="content">
    <div class="sidebar">
        <div class="pro_box">
        <div class="jj_cp2">
            <h3>指环王:护戒使者电影</h3>
          </div>
        <ul class="pro_list">
              <li><a href="gushi.html">故事背景</a></li>
        <li><a href="juese.html">角色介绍</a></li>
        <li><a href="huaxu.html">幕后花絮</a></li>
        <li><a href="huojiang.html">获奖记录</a></li>
          </ul>
      </div>
        <!--end of pro_box-->
        
        <div class="pro_box">
        <div class="jj_cp2">
            <h3>演职员表</h3>
          </div>
        <ul class="pro_list">
            <li><a href="meishi_1.html">伊利亚·伍德 饰 弗罗多</a></li>
            <li><a href="meishi_2.html">伊恩·麦克莱恩 饰 甘道夫</a></li>
            <li><a href="meishi_3.html">维果·莫特森 饰 阿拉贡</a></li>
            <li><a href="meishi_4.html">凯特·布兰切特 盖拉德丽尔</a></li>
            <li><a href="meishi_5.html">多米尼克·莫纳汉 饰 梅利
</a></li>
          </ul>
      </div>
        <!--end of pro_box--> 
      </div>
    <!--end of sidebar-->
    <div class="main_con">
        <div class="chanp_box">
        <div class="jj_cp">
            <h3>演员表</h3>
          </div>
        <div class="show_box">
            <div class="show_panel">
            <ul id="show_list">
                <li> <a href="#"><img alt="" src="image/j1.jpg" width="164" height="168" /><span>伊利亚·伍德 饰 弗罗多</span></a> <a href="#"><img alt="" src="image/j2.jpg" width="164" height="168" /><span>伊恩·麦克莱恩 饰 甘道夫</span></a> <a href="#"><img alt="" src="image/j3.jpg" width="145" height="168" /><span>维果·莫特森 饰 阿拉贡</span></a> <a href="#"><img alt="" src="image/j4.jpg" width="164" height="168" /><span>凯特·布兰切特 盖</span></a> </li>
              </ul>
          </div>
          </div>
        <!--end of show_box--> 
      </div>
        <!--end of chanp_box-->
        <div class="chanp_box">
        <div class="jj_cp">
            <h3>电影剧照&nbsp;</h3>
    </div>
        <div class="show_box">
            <div class="show_panel">
            <ul id="show_list">
                <li> <a href="#"><img alt="" src="image/m1.jpg" width="164" height="168" /><span>电影片段</span></a> <a href="#"><img alt="" src="image/m2.jpg" width="164" height="168" /><span>电影剧照</span></a> <a href="#"><img alt="" src="image/m3.jpg" width="164" height="168" /><span>电影剧照</span></a> <a href="#"><img alt="" src="image/m4.jpg" width="164" height="168" /><span>电影剧照</span></a> </li>
              </ul>
          </div>
          </div>
        <!--end of show_box--> 
      </div>
        <!--end of chanp_box-->
        <div class="jj_box">
        <div class="jj_cp">
            <h3>指环王:护戒使者</h3>
          
          </div>
        <div class="jj_cloumn"> <a href="#"><img alt="" src="image/1.jpg" width="237" height="166"/></a>
            <div class="jj_txt">
            <p>电影讲述了在古老的中土世界,弗罗多在忠实的伙伴山姆、梅利和皮平的陪伴下,踏上了毁灭魔戒的征程。还有游侠阿拉贡、人类战士博罗米尔、精灵女王以及精灵莱古拉斯、矮人吉姆利和甘道夫巫师等正义力量的保护和帮助,弗罗多他们的魔戒远征队才一次次地化险为夷</p>
        </div>
            <!--end of jj_txt--> 
          </div>
        <!--end of jj_cloumn--> 
      </div>
        <!--end of jj_box--> 
      </div>
    <!--end of mian_con--> 
  </div>
    <!--end of content--> 
  </div>
<!--end of wrapper-->
<div class="foot">
    <div class="copyright">
    <p>指环王:护戒使者</p>
    <p><a href="http://mail.qq.com/">联系我们</a><a href="http://www.baidu.com/" target="_blank"> 友情链接</a></p>
  </div>
    <!--end of copyright--> 
  </div>
<!--end of foot-->
</body>
</html>




2. CSS code



 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active {
    
    outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {
    
    margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
    
    width: 100%; margin: 0; padding: 0;}
.flexslider .slides > li {
    
    display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    
    }
.flex-pauseplay span {
    
    text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {
    
    content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {
    
    display: block;} 
* html .slides {
    
    height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
    
    display: block;}



/* FlexSlider Default Theme
*********************************/
.flexslider {
    
    position: relative; margin-top:10px; padding-top:10px; margin-left:10px; zoom: 1;}
.flexslider .slides {
    
    zoom: 1;}
.flexslider .slides > li {
    
    position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {
    
    zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {
    
    background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {
    
    width: 96%; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}

/* Direction Nav */
.flex-direction-nav li a {
    
    width: 52px; height: 52px; margin: -13px 0 0; display: block; background: url(../image/bg_direction_nav.png) no-repeat 0 0; position: absolute; top:150px; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li a.next {
    
    background-position: -52px 0; right: -51px;}
.flex-direction-nav li a.prev {
    
    background-position: 0 0; left: -60px;}
.flex-direction-nav li a.disabled {
    
    opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {
    
    width: 100%; position: absolute; bottom: -30px; *bottom: -0px;*bottom: -0px\9; text-align: center;}
.flex-control-nav li {
    
    margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {
    
    margin: 0;}
.flex-control-nav li a {
    
    width: 13px; height: 13px; display: block; background: url(../image/bg_control_nav.png) no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {
    
    background-position: 0 -13px;}
.flex-control-nav li a.active {
    
    background-position: 0 -26px; cursor: default;}




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, wonderful recommendation

1. If you see this, please support me 【点赞收藏博文】three times. Your support is the driving force for my creation 【观注作者 |获取更多源码| 优质文章】 .

2. Follow me and take you to learn various front-end plug-ins, 3D cool effects, picture display, text effects, and whole site templates, college graduate graduation HTML templates, final assignment templates, etc.! "There are many front-end developers here, let's join together Discuss front-end Node knowledge and learn from each other!"

3. The above content and technology-related issues can learn and communicate with each other

insert image description here

Guess you like

Origin blog.csdn.net/QQ_____365392777/article/details/128658405