Академический Документы
Профессиональный Документы
Культура Документы
ОТЧЕТ
Лабораторная работа №1
По предмету: Tehnologii WEB
Тема: Создание веб-страницы с помощью HTML, CSS и Bootstrap
Подготовила:
Проверила :
Кишинев 2018г.
Цель работы:
Изучение основ HTML, CSS и Bootstrap.
Задания к лабораторной работе:
Имплементировать полученные знания в создании веб-страницы
Краткая теория:
HTML (от англ. Hyper Text Markup Language —
«язык гипертекстовой разметки») — стандартизированный язык
разметки документов во Всемирной паутине. Большинство веб-страниц содержат
описаниеразметкинаязыкеHTML (или XHTML). ЯзыкHTML
интерпретируется браузерами; полученный в результате интерпретации
<!DOCTYPE html>
<html>
<head>
.....
<link rel="stylesheet" href="style.css">
</head>
<body>
.....
</body>
</html>
<!DOCTYPE html>
<html>
<head>
.....
<style media="all">
@import url(style.css);
</style>
</head>
</html>
<!DOCTYPE html>
<html>
<head>
.....
<style>
body {
color: red;
}
</style>
</head>
<body>
.....
</body>
</html>
• когда таблица стилей описана в самом документе, она может располагаться в
нём в теле какого-то отдельного тега (посредством его атрибута style) этого
документа. Все правила этой таблицы действуют только на содержимое этого
тега.
<!DOCTYPE>
<html>
<head>
.....
</head>
<body>
<p style="font-size: 20px; color: green; font-family: arial, helvetica, sans-serif">
.....
</p>
</body>
</html>
Выполнение задания:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --
> <title>Лабораторная №1</title>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css'
/> <!-- jQuery (necessary JavaScript plugins) -->
<script type='text/javascript' src="js/jquery-
1.11.1.min.js"></script> <!-- Custom Theme files -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<!-- Custom Theme files -->
<!--//theme-style-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Gretong Responsive web template, Bootstrap Web Templates, Flat Web
Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design"
/> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900' rel='stylesheet'
type='text/css'> <link href='http://fonts.googleapis.com/css?family=Playfair+Display:400,700,900' rel='stylesheet'
type='text/css'> <!-- start menu -->
<link href="css/megamenu.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="js/megamenu.js"></script>
<script>$(document).ready(function(){$(".megamenu").megamenu();});</script>
<script src="js/menu_jquery.js"></script>
<script src="js/simpleCart.min.js"> </script>
<style>
body {
background-image: url(background_solid_bright_44011_2560x1600.jpg); /*Путь к фоновому изображению */
background-repeat: no-repeat;
background-attachment: fixed;
/* background-color: #ff9999; Цвет фона */
}
</style>
</head>
<body>
<div class="header_bg">
<div class="container">
<div class="header">
<div class="head-t">
<div class="logo" >
<a href="index.html" style="color: #eab1e1"> <img src="images\logo0.jpg" alt=""></a>
</div>
<!-- start header_right -->
<div class="header_right">
<div class="rgt-bottom">
<div class="log">
<div class="login" >
<div id="loginContainer"><a href="#" id="loginButton" style="color:
#eab1e1"><span>Войти</span></a>
<div id="loginBox">
<form id="loginForm">
<fieldset id="body">
<fieldset>
<label for="email">Email Address</label>
<input type="text" name="email" id="email">
</fieldset>
<fieldset>
<label for="password">Password</label>
<input type="password" name="password"
id="password">
</fieldset>
<input type="submit" id="login" value="Sign in">
<label for="checkbox"><input type="checkbox"
id="checkbox"> <i>Remember me</i></label>
</fieldset>
<span><a href="#">Forgot your password?</a></span>
</form>
</div>
</div>
</div>
</div>
<div class="reg">
<a href="register.html" style="color: #eab1e1" >Регистрация</a>
</div>
<div class="cart box_1">
<a href="checkout.html">
<h3 style="color: #eab1e1"> <span class="simpleCart_total">$0.00</span>
(<span id="simpleCart_quantity" class="simpleCart_quantity">0</span> объектов)<img
src="images/bag.png" alt=""></h3>
</a>
<!-- <p><a href="javascript:;" class="simpleCart_empty">(empty card)</a></p>-->
<div class="clearfix"> </div>
</div>
<!--
<div class="create_btn">
<a href="checkout.html">CHECKOUT</a>
</div>
-->
<div class="clearfix"> </div>
</div>
<div class="search">
<form>
<input type="text" value="" placeholder="search...">
</form>
</div>
<div class="clearfix"> </div>
</div>
<div class="clearfix"> </div>
</div>
</ul>
</li>
<li><a href="#" style="color: #eab1e1">Доставка и оплата</a></li>
<li><a href="#" style="color: #eab1e1">Отзывы</a></li>
<li><a href="#" style="color: #eab1e1">Обратная связь
</a></li> </ul>
</div>
</div>
</nav>
<div class="arriv">
<div class="container">
<div class="arriv-top">
<h1 style="color:#eab1e1; text-align: center"> Один прекрасный букет вместо тысячи
слов <p></p>
</h1>
<div class="col-md-6 arriv-left">
<img src="images\359.970_cached600x500.jpg" class="img-responsive"
alt=""> <div class="arriv-info">
<h3>НОВИНКИ</h3>
<p></p>
<div class="crt-btn">
<a href="details.html">SHOP NOW</a>
</div>
</div>
</div>
<div class="col-md-6 arriv-right">
<img src="images\Frut-12.jpg" class="img-responsive" alt="">
<div class="arriv-info">
<h3>ОРИГИНАЛЬНЫЕ</h3>
<p></p>
<div class="crt-btn">
<a href="details.html">SHOP NOW</a>
</div>
</div>
</div>
<div class="clearfix"> </div>
</div>
<div class="arriv-las">
<div class="col-md-6 arriv-left">
<img src="images\rose-korsina-8.jpg" class="img-responsive" alt="">
<div class="arriv-info2">
<a href="details.html"><h3>___ Голландские розы<i
class="ars"></i></h3></a>
</div>
</div>
<div class="col-md-6 arriv-right">
<img src="images\pionovidnye-rozy-red-piano-v-korobke-baby-foto-1.jpg" class="img-
responsive" alt="">
<div class="arriv-info3">
<h3>ЦВЕТЫ В ИЗЯЩНОЙ КРОБОЧКЕ</h3>
<div class="crt-btn">
<a href="details.html">SHOP NOW</a>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="container">
<div class="col-md-3 cust" >
<h4 style="color: #eab1e1" >ПОДДЕРЖКА КЛИЕНТОВ</h4>
<li><a href="#" style="color: #eab1e1">Help Center</a></li>
<li><a href="#" style="color: #eab1e1">FAQ</a></li>
<li><a href="buy.html" style="color: #eab1e1">Как купить?</a></li>
<li><a href="#" style="color: #eab1e1">Доставка</a></li>
</div>
<div class="col-md-5 our-st">
<div class="our-left">
<h4 style="color: #eab1e1">КАК СВЯЗАТЬСЯ С НАМИ</h4>
</div>
</div>
<div class="clearfix"> </div>
<p style="color: #eab1e1">© 2018 FLOWER_BUTIQUE by Cernei Irina TI-164 </p>
</div>
</div>
</div>