USING BOOKMARK PROPERTY TO MAKE STATIC WEBSITE


Steps to follow : –

  1. Create html page or copy html code given below
  2. Create css page or copy css page given below
  3. Link them both page using link tag in html page as

<link rel=”stylesheet” type=”text/css” href=”bookmark1.css”>

bookmark1.html

<html>
<head>
<title></title>
<link rel=”stylesheet” type=”text/css” href=”bookmark1.css”>
</head>
<body>
<div class=”navbar”><a href=”#home”><div class=”nav1″>HOME</div></a><a href=”#login”><div class=”nav2″>LOGIN</div></a><a href=”#contact”><div class=”nav3″>CONTACT US</div></a><a href=”#about”><div class=”nav4″>ABOUT US</div></a><a href=”#connect”><div class=”nav5″>CONNECT US</div></a><a href=”#links”><div class=”nav6″>SOME IMPORTANT LINKS</div></a></div><br><br>
<a name=”home”><h3 class=”home”>INTRODUCTION</h3></a>
<p class=”home_p”>Cascading Style Sheets, fondly referred to as CSS, is a simple design language intended to simplify the process of making web pages presentable.CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, layout designs,variations in display for different devices and screen sizes as well as a variety of other effects.CSS is easy to learn and understand but it provides powerful control over the presentation of an HTML document. Most commonly, CSS is combined with the markup languages HTML or XHTML.<br><br>
<u>Advantages of CSS</u><br><br>
1. CSS saves time − <br><br>You can write CSS once and then reuse same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to as many Web pages as you want.
<br><br>
2. Pages load faster − <br><br>If you are using CSS, you do not need to write HTML tag attributes every time. Just write one CSS rule of a tag and apply it to all the occurrences of that tag. So less code means faster download times.
<br><br>
3. Easy maintenance − <br><br>To make a global change, simply change the style, and all elements in all the web pages will be updated automatically.
<br><br>
4. Superior styles to HTML − <br><br>CSS has a much wider array of attributes than HTML, so you can give a far better look to your HTML page in comparison to HTML attributes.
<br><br>
5. Multiple Device Compatibility − <br><br>Style sheets allow content to be optimized for more than one type of device. By using the same HTML document, different versions of a website can be presented for handheld devices such as PDAs and cell phones or for printing.
<br><br>
6. Global web standards − <br><br>Now HTML attributes are being deprecated and it is being recommended to use CSS. So its a good idea to start using CSS in all the HTML pages to make them compatible to future browsers.</p>
<a name=”login”><h3 class=”login”>LOGIN HERE</h3></a>
<form>
<fieldset>
NAME<br><br><input type=”text” name=”name” id=”name” placeholder=”Enter name here”> <br><br><br>
EMAIL<br><br><input type=”email” name=”email” id=”email” placeholder=”Enter email here”> <br><br><br>
<input type=”submit” id=”submit” value=”SUBMIT HERE”>
</fieldset>
</form>
<a name=”contact”><h3 class=”contact”>CONTACT HERE</h3></a>
<pre>
<ul class=”contact_ul”>
<li>MOBILE NUMBER : 8360658010</li>
<li>EMAIL ADDRESS : <a href=”dhingan7466@gmail.com”>LINK HERE</a></li>
<li>LINKEDIN ACCOUNT : <a href=”https://www.linkedin.com/in/deepak-dhingan-ab3483137/”>LINK HERE</a></li>
<li>COURSERA ACCOUNT : <a href=”https://www.coursera.org/user/1b0953b989720155b0ff8777dba58fb2″>LINK HERE</a></li>
<li>UDEMY ACCOUNT : <a href=”https://www.udemy.com/user/deepak-dhingan/”>LINK HERE</a></li>
<li>TWITTER ACCOUNT : <a href=”https://twitter.com/DeepakM37379690″>LINK HERE</a></li>
<li>WORDPRESS ACCOUNT : <a href=”https://wordpress.com/view/deepakdhingan.wordpress.com”>LINK HERE</a></li>
</ul></pre>
<a name=”about”><h3 class=”about”>ABOUT US</h3></a>
<p class=”about_p”>CSS is created and maintained through a group of people within the W3C called the CSS Working Group. The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by the W3C members, it becomes a recommendation.
<br><br>
These ratified specifications are called recommendations because the W3C has no control over the actual implementation of the language. Independent companies and organizations create that software.<br><br>
Cascading Style Sheets level 1 (CSS1) came out of W3C as a recommendation in December 1996. This version describes the CSS language as well as a simple visual formatting model for all the HTML tags.
<br><br>
CSS2 became a W3C recommendation in May 1998 and builds on CSS1. This version adds support for media-specific style sheets e.g. printers and aural devices, downloadable fonts, element positioning and tables.<br><br>
CSS is used to control the style of a web document in a simple and easy way. CSS is the acronym for “Cascading Style Sheet”. This tutorial covers both the versions CSS1,CSS2 and CSS3, and gives a complete understanding of CSS, starting from its basics to advanced concepts.<br><br>
A CSS comprises of style rules that are interpreted by the browser and then applied to the corresponding elements in your document. A style rule is made of three parts −<br><br>

Selector − A selector is an HTML tag at which a style will be applied. This could be any tag like ‘h1’ or ‘table’ etc.
<br><br>
Property − A property is a type of attribute of HTML tag. Put simply, all the HTML attributes are converted into CSS properties. They could be color, border etc.
<br><br>
Value − Values are assigned to properties. For example, color property can have value either red or #F1F1F1 etc.</p>
<a name=”connect”><h3 class=”connect”>CONNECT HERE</h3></a>
<div class=”connect_div”>
<img src=”facebook.png”><img src=”linkedin.png”><img src=”twitter.png”><img src=”udemy.png”>
</div><br><br><br>
<a name=”links”><h3 class=”links”>SOME IMPORTANT LINKS</h3></a>
<div class=”links_div”>
<a href=”#”>PRIVACY POLICY</a>
<a href=”#”>COOKIE POLICY</a>
<a href=”#”>TERMS OF USE</a>
<a href=”#”>CAREER</a>
<a href=”#”>FAQ’S</a>

</div>
</body>
</html>

bookmark1.css

body{background:#fff;}
.navbar{background:#ff8080;width:1280px;padding-left:50px;margin:0;height:60px;box-shadow:2px 2px 7px #006666;}
.navbar div{font-weight:bold;float:left;color:#fff;background:grey;padding:20px;margin:25px;border-radius:5px;border:4px solid grey;}
.navbar div:hover{color:#ff8080;border-radius:0px;box-shadow:2px 2px 7px #000;border-radius:5px;}
.navbar div:nth-child(2){margin-left:70px;}
.navbar div:nth-child(3){margin-left:70px;}
.navbar div:nth-child(4){margin-left:70px;}
.navbar div:nth-child(5){margin-left:70px;}
.navbar div:nth-child(6){margin-left:70px;}
h3{text-align:center;background:#004d99;color:#ff8080;padding:30px;}
.home_p{background:grey;text-align:justify;padding:10px;font-weight:bold;color:#fff;font-size:20px;box-shadow:2px 2px 7px #000;}


form{width:450px;margin-left:400px;text-align:center;margin-top:60px;margin-bottom:60px;}
fieldset{border-radius:5px;opacity:0.6;padding:20px;height:400px;border:2px solid #006666;background:#006666;color:#fff;font-weight:bold;font-size:20px;}
input[name=”name”],input[name=”email”]{padding-left:20px;padding-right:20px;padding-top:15px;padding-bottom:20px;border-radius:75px;font-weight:bold;}
#submit{padding:15px;border-radius:75px;font-weight:bold;border:2px solid #c6ffb3;color:#000;background:#004d99;}
.contact_ul{background:grey;padding-left:400px;font-size:20px;}
.contact_ul li{list-style:none;font-weight:bold;color:#fff;}
.contact_ul a{color:#fff;text-decoration:none;}
.about_p{background:grey;text-align:justify;padding:10px;font-weight:bold;color:#fff;font-size:20px;box-shadow:2px 2px 7px #000;}
.connect_div{background:grey;text-align:justify;padding:10px;padding-left:500px;font-weight:bold;color:#fff;font-size:20px;box-shadow:2px 2px 7px #000;}
.connect_div img{margin-top:-20px;float:left;width:70px;height:70px;border-radius:75px;transition:all 0.4s;}
.connect_div img:hover{width:80px;height:80px;}
.connect_div img:nth-child(2){margin-left:20px;}
.connect_div img:nth-child(3){margin-left:20px;}
.connect_div img:nth-child(4){margin-left:20px;}

.links_div{background:#000;text-align:justify;padding:10px;font-weight:bold;color:#fff;font-size:20px;box-shadow:2px 2px 7px #000;}
.links_div a{color:#fff;text-decoration:none;display:block;text-align:center;font-weight:bold;padding:20px;background:#000;transition:all 1s;}
.links_div a:hover{margin-left:35px;opacity:0.4;}

WEBSITE SHOWN AS BELOW WHEN YOU RUN THEM INTO YOUR TEXT EDITOR

To follow my blog to click below

© WebCoder.com

Please follow me on social media pages : –

Facebook

Twitter

LinkedIn

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s