Introduction to Web Design-I

Internet is a global system of interconnected nodes that is used to share information from one computer to another. Some important web terminologies are HTTP (Hypertext Transfer Protocol), Web Browser, World Wide Web (WWW), Web Server, URL, Web Page and Web Hosting.

HTTP is used to access or retrieve documents from WWW. Web Browser is used for retrieving, presenting and traversing information resources on WWW. WWW is used to access any document on the net with the help of HTTP and URL. Web Server delivers web pages to the browsers and other files to the applications via HTTP. URL specifies the distinct address for each resource on the Internet. Webpage is a document on WWW that has a unique URL. Web Hosting provides internet users with online computer systems for storing information, images, video, or any content accessible via the internet or web.

HyperText Markup Language (HTML) is used for creating web pages with the help of various HTML tags. The basic HTML tags are , , and <BODY>. The two types of HTML tags are container tags and empty tags. To design a basic HTML page, type HTML code in the notepad and save it with extension .html or .htm. To save an HTML file, click on File and choose Save As. To display a Webpage, open the browser, go to File and click on Open. Now, click on Browse and select the file. The output of HTML code would be displayed in the browser. </h2> </div> </div> <div class="content clearfix"> <div class="clearfix"> <div class="col-sm-8"> <p>To Access the full content, Please <span id="loginlinkarea"></span> <!-- <a data-dismiss="modal" data-target="#login" data-toggle="modal" href="#" style="color:#2787f7">Login</a>/--> <a href="/package" style="color:#2787f7">Purchase</a> </p> </div> </div> <div class="description-dt text-center"> <ul class="paper-block" style="position:relative;"> </ul> </div> </div> </div> </div> </div> <div class="packegecontent clearfix"> <div class="hgroup-text"> <h2>Extramarks Smart Study Pack</h2> </div> <div id="categorylist" class="gallery-items row"> <div class="gallery-item"> <div class="gallery-contents"> <div class="gallery-trigger card-bg"> <div class="select-package"><a href="/package"> <img src="//s3cdn2.xtramarx.com/web_v1/images/website/packages/package_category/buy-img1.png" class="img-responsive" alt="buy"> <p class="buy-st-title">Combo Pack</p> </a> </div> </div> </div> </div> <div class="gallery-item"> <div class="gallery-contents"> <div class="gallery-trigger card-bg"> <div class="select-package"><a href="/package"> <img src="//s3cdn2.xtramarx.com/web_v1/images/website/packages/package_category/buy-img2.png" class="img-responsive" alt="buy"> <p class="buy-st-title">Annual Pack</p> </a> </div> </div> </div> </div> <div class="gallery-item"> <div class="gallery-contents"> <div class="gallery-trigger card-bg"> <div class="select-package"><a href="/package"> <img src="//s3cdn2.xtramarx.com/web_v1/images/website/packages/package_category/buy-img3.png" class="img-responsive" alt="buy"> <p class="buy-st-title">Fast Track</p> </a> </div> </div> </div> </div> <div class="gallery-item"> <div class="gallery-contents"> <div class="gallery-trigger card-bg"> <div class="select-package"> <a href="/package"><img src="//s3cdn2.xtramarx.com/web_v1/images/website/packages/package_category/buy-img4.png" class="img-responsive" alt="buy"> <p class="buy-st-title">Test Pack</p> </a> </div> </div> </div> </div> </div> </div> </div> </section> <ul class="social-block"> <li><a target="_blank" class="bg-color1" href="https://www.facebook.com/extramarkseducation"><i class="icons-fb"></i><span>Facebook</span></a></li> <li><a target="_blank" class="bg-color2" href="https://www.youtube.com/channel/UC7t6bG2oCbKXBm2vyVwCdwQ"><i class="icons-youtube"></i><span>Youtube</span></a></li> <li><a target="_blank" class="bg-color3" href="https://twitter.com/extramarks"><i class="icons-tw"></i><span>Twitter</span></a></li> <li><a target="_blank" class="bg-color4" href="https://plus.google.com/109282015434825703624"><i class="icons-gplus"></i><span>Google Plus</span></a></li> <li><a target="_blank" class="bg-color5" href="https://www.linkedin.com/company/extramarks"><i class="icons-linkedin"></i><span>LinkedIn</span></a></li> </ul> <link href="//cdn.xtramarx.com/web_v1/css/website/paper.css" rel="stylesheet" /> <link rel="stylesheet" href="//cdn.xtramarx.com/web_v1/css/website/customscroller.css"> <script src="//cdn.xtramarx.com/web_v1/js/jquery.mCustomScrollbar.concat.min.js"></script> <style> .leftmenu-cate .panel-default {margin-right: 12px;background: #f9f9f9;} .leftmenu-cate {background: #fff;} .morecontent span {display: none;} </style> <script> $(document).ready(function(e) { var showChar = 650; var ellipsestext = "..."; var moretext = "Read More"; var lesstext = "Hide"; $('.more').each(function() { var content = $(this).html(); if(content.length > showChar) { var c = content.substr(0, showChar-1); var h = content.substr(showChar-1, content.length - showChar); var html = c + '<span class="moreelipses">'+ellipsestext+'</span><span class="morecontent"><span>' + h + '</span>  <a href="" class="morelink">'+moretext+'</a></span>'; $(this).html(html); } }); var lengthChar = 300; $('.seotext').each(function() { var content = $(this).html(); if(content.length > lengthChar) { var c = content.substr(0, lengthChar); var h = content.substr(lengthChar-1, content.length - lengthChar); var html = c + '<span class="moreelipses">'+ellipsestext+'</span> <span class="morecontent"><span>' + h + '</span>  <a href="" class="morelink">'+moretext+'</a></span>'; $(this).html(html); } }); var totalSubject = $('.panel').length; var subjLen = $('.panel-heading').height(); var minHeight = (totalSubject*subjLen)+220; var contentH = $('.seo-gray-bg').height(); if(contentH < minHeight){ $('.student-mn-rt').height(minHeight); //$('.main-content-mt').height(minHeight+50); $('.main-content-mt').css('min-height', minHeight+50); var chapterHeight = minHeight -(totalSubject*subjLen); } else{ $('.student-mn-rt').height(contentH); var chapterHeight = contentH -(totalSubject*subjLen)- 60 ; } $('.scroll-content').css('max-height',150); $(".scroll-content").mCustomScrollbar({ theme:"minimal", advanced: { updateOnContentResize: true } }); $(".morelink").click(function(){ if($(this).hasClass("less")) { $(this).removeClass("less"); $(this).html(moretext); } else { $(this).addClass("less"); $(this).html(lesstext); } $(this).parent().prev().toggle(); $(this).prev().toggle(); return false; }); }); </script> <!------------- Twitter Conversion code-------><!-- Twitter universal website tag code --> <script> !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); },s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js', a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); // Insert Twitter Pixel ID and Standard Event data below twq('init','nxrop'); twq('track','PageView'); </script> <!-- End Twitter universal website tag code --><style>.trouble-msg{ font-size: 12px; text-align:right; }.trouble-msg span{ color:#286090}</style> <!--footer here--> <section id="newslettertoll-section"> <div class="container"> <div class="row no-gutters prefooter-top"> <div class="col-sm-6 col-md-6 text-left mt5 copyright "><p>Copyright © 2018 Extramarks. All rights reserved.</p></div> <div class="col-sm-6 col-md-6 text-right"> <ul class="social-icon clearfix" style="display:inline-block"> <li><a class="facebook" target="_blank" href="https://www.facebook.com/extramarkseducation"><i class="fa fa-facebook" aria-hidden="true"></i></a></li> <li><a class="twitter" target="_blank" href="https://twitter.com/extramarks"><i class="fa fa-twitter" aria-hidden="true"></i></a></li> <li><a class="google" target="_blank" href="https://plus.google.com/109282015434825703624"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li> <li><a class="linkedin" target="_blank" href="https://www.linkedin.com/company/extramarks"><i class="fa fa-linkedin" aria-hidden="true"></i></a></li> <li><a class="youtube" target="_blank" href="https://www.youtube.com/channel/UC7t6bG2oCbKXBm2vyVwCdwQ"><i class="fa fa-youtube" aria-hidden="true"></i></a></li> <li><a class="rss" target="_blank" href="/blog/"><i class="fa fa-rss" aria-hidden="true"></i></a></li> </ul> </div> </div> </div> </section> <section id="pre-footer"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="main-link font18"> <a href="/syllabus/cbse">CBSE</a> <a href="/syllabus/icse">ICSE</a> </div> <div class="main-link"> <a href="/contact-us">Contact</a> | <a href="/media-center">Media Center</a> | <a href="/blog/">Blogs</a> | <a href="/testimonial/students">Testimonials </a> | <!-- <a href="" title="School Solutions">School Solutions</a>| --> <a href="/crmsearchorder" title="quick pay">Quick Pay</a></div> <div class="main-link sublink"> <a href="/faq">FAQ</a> <a href="/child-safety">Child Safety</a> <!-- <a href="/privacy">Privacy</a> --> <!-- <a href="/disclaimer">Disclaimer</a> --> <a href="/terms-of-use">Terms of Use</a> <!-- <a href="/Extramarks_LED_Panel_Catalogue.pdf" target="_blank">LED Panel Catalogue</a> --> <a href="/e-waste-recycling-program">E waste Recycling Program</a><a href="/careers">Careers</a></div> </div> </div> </div> </section> <!--footer end--> <!--------------Footer Tag Manager Code-------------------> <!-- Modal popups --> <!-- login --> <div class="modal fade" id="exampleModalforget" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-sm" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h2 class="popus-title">Forgot Password?</h2> </div> <div class="modal-body"> <div class="login-box newlogin"> <p id="enter_email_p" style="margin-bottom:10px;">Please enter your User ID:</p> <form class="form-horizontal"> <div class="form-group clearfix successMessage" > <div class="col-sm-12 "> <input type="email" placeholder="Please enter your User ID" id="fgtemail" name="fgtemail" onKeyPress="return forgotSubmit(event)" value="" class="form-control" > <span style="position: relative; display: none;color:red;" id="erroremailreset" class="valid-error"></span> </div> </div> <div class="clearfix successMessage"> <div class="col-sm-12 padd" style="padding:0"> <button type="button" class="btn btn-primary btn-login btn-block" onClick="resetPassword();">RESET PASSWORD</button> </div> </div> <div class="form-group clearfix erroremailonforgot" style="color: green; text-align:center;"> <span class="valid-error" id="erroremailonforgot" style="color: green; display: none;"></span> </div> <p class="trouble-msg">Having trouble logging in? call at <span>18001025301</span></p> </form> </div> <!--<p class="forgot-note text-center" style="font-size: 13px;">Please remember changing your password here will change the same for www.findingkalam.com as well as www.extramarks.com</p>--> </div> </div> </div> </div> <!-- Google Login light box start here --> <div class="modal fade custom-lightbox" id="login_with_google" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="exampleModalLabel">Login with your Google account</h4> </div> <div class="login-box newlogin"> <ul class="login-social"> <li class="gplus"><a href="javascript:void(0)" onClick="window.location = '/user/login/google'" class="fa fa-google-plus"></a></li> </ul> </div> </div> </div> </div> <div class="modal fade" id="changeregisteredmobile" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h2 class="popus-title">Change Registered Mobile</h2> </div> <div class="modal-body"> <div class="login-box newlogin"> <p id="enter_email_p">Enter your email to change registered mobile number:</p> <!--form class="form-horizontal"--> <div class="form-group successMessage"> <div class="col-sm-10 padd-right"> <input type="email" placeholder="Please Enter Your Email ID" id="regemail" name="reg_email" onKeyPress="return forgotSubmit(event)" value="" class="form-control" > <span style="position: relative; display: none;" id="errorregemail" class="valid-error"></span> </div> </div> <div class="clearfix successMessage"> <button type="button" class="btn btn-primary" onClick="resetMobile();">GO</button> </div> <div class="form-group clearfix erroremailonforgot" style="color: green; text-align:center;"> <span class="valid-error" id="erroremailonforgot" style="color: green; display: none;"></span> </div> <!--/form--> </div> </div> </div> </div> </div> <script> var BASE_URL = ""; var notesUrl = BASE_URL; var commentsUrl = BASE_URL; </script> <script> $('.newlogin .form-horizontal').keydown(function(e){ var key = e.which; if (key == 13) /* As ASCII code for ENTER key is "13"*/ { validateLogin(); } }); </script> <div class="modal fade location-popup" id="locationpic" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h2 class="popus-title">Update your Photo</h2> </div> <div class="modal-body"> <span class="errorfrm1 text-center" id="errorclassname"> </span> <div class="form-group clearfix"> <div class="col-sm-1 padd"><img id="blah" src="//s3cdn2.xtramarx.com/web_v1/images/avatar_100_1x.png" style="height:39px;"></div> <div class="col-sm-11 padd-right"> <div class="photobrowser clearfix" style="width:100%; margin-top:0; "> <div class="upload_File" style="width:100%;"> <input type="file" name="image_file" onchange="readURL(this);" class="image_file" id="image_file"> </div> </div> <p style="margin-top: 3px;">(max file size 1mb)</p> </div> </div> <div class="modal-body text-center"><a href="javascript:void(0)" onclick="skipprocess()" class="btn btn-warning" style="width:100px">Skip</a> <a href="javascript:void(0)" onclick="updatepicture()" class="btn btn-primary" style="width:100px">Update</a> <span id="loadingPostcom" style="display: none;"><img src="//s3cdn2.xtramarx.com/web_v1/images/website/netLoader.gif" width="16" height="16"></span> </div> </div> </div> </div> </div> <div class="modal fade" id="applyCardCode" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <input type="hidden" id="coupon_id"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h2 class="popus-title">Select Board Class</h2> </div> <div class="modal-body" style="padding-top:0;"> <div class="row"> <div class="form-group clearfix"> <span id="error" style="color: red;"></span> <div class="col-sm-6"> <select class="select" id="board_gift"> <option value="">Board</option>> <option value="489">Karnataka</option> <option value="180">CBSE</option> <option value="183">AP Board</option> <option value="404">ICSE</option> <option value="330">NDMC ENGLISH MEDIUM</option> <option value="186">Tamilnadu Board</option> <option value="337">एन.डी. एम.सी.(हिंदी माध्यम)</option> <option value="343">CBSE Hindi</option> </select> </div> <div class="col-sm-6"> <select class="select" id="class"> <option value="">Class</option> </select> </div> </div> </div> </div> <div class="modal-footer modal-Customfooter auto-width clearfix" style="text-align:center"> <button class="btn btn-primary" onclick="applyGiftCouponNew()" type="button">Submit</button> <button data-dismiss="modal" class="btn-default" type="button" style="display:inline-block; padding:6px 30px;">Cancel</button> </div> </div> </div> </div> <!--select subject model--> <div aria-hidden="false" aria-labelledby="exampleModalLabel" role="dialog" tabindex="-1" id="showsubjectview" class="modal bs-example-modal-lg fade in" style="display: none;"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h2 class="popus-title">Select Subjects</h2> </div> <div class="modal-body" id="subinfo"> </div> </div> </div> </div> <!--select test prep board model--> <div id="choosenTestClass" aria-hidden="false" aria-labelledby="exampleModalLabel" role="dialog" tabindex="-1" class="modal bs-example-modal-lg fade in" style="display: none;"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h2 class="popus-title">We offer various courses corresponding to your Board & Class.Select your course from here.</h2> </div> <div class="modal-body" id="boardclassinfo"></div> <div class="modal-footer auto-width text-center"> <button class="btn btn-primary widthauto" onclick='submitTestPrepClass()'>Submit</button> <button class="btn btn-primary" onclick="skiptestPrepClass()">Skip</button> <p class="text-success" style="margin:15px 0 0">*You could select course later from my profile.<p> </div> </div> </div> </div> <script> $(function(){ $('#board_gift').change(function(){ var board_id=$('#board_gift').val(); $('#class').empty(); var defaultDropdownText = 'Select'; $('#class').append("<option value=''>" + defaultDropdownText + "</option>"); var flag=''; $.ajax({type: 'POST', url: '' + "/lms/index/custom-containerlist/" + board_id, dataType: 'json', success: function(data) { $.each(data.options, function(key, obj) { $('#class').append("<option value='" + obj.rack_id + "'>" + obj.rack_name + "</option>"); }); } }); }); }); </script> <!--LeadSquared Tracking Code Start--> <script src="https://web-in21.mxradon.com/t/Tracker.js"></script> <script> setTimeout(function(){ pidTracker('27602'); },3000); </script> <!--LeadSquared Tracking Code End--><link href="//cdn.xtramarx.com/web_v1/css/website_v2/footer.css" media="screen" rel="stylesheet" type="text/css"> <script src="/js/pace.min.js"></script> <div class="overlay"></div> </div> <div class="modal fade addchild-popup userprofile-popup" id="userprofile" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="clearfix"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> </div> <div class="modal-body" id="model_body"></div> </div> </div> </div> <script src="//cdn.xtramarx.com/web_v1/js/website/socialSite.js?v=091219"></script> <script> document.oncontextmenu=disableit function disableit() { //alert("done") return false; } function isIE() { var myNav = navigator.userAgent.toLowerCase(); return (myNav.indexOf('msie') != -1) ? parseInt(myNav.split('msie')[1]) : false; } /* center modal */ function centerModals() { $('.modal').each(function (i) { var $clone = $(this).clone().css('display', 'block').appendTo('body'); var top = Math.round(($clone.height() - $clone.find('.modal-content').height()) / 2); top = top > 0 ? top : 0; $clone.remove(); //$(this).find('.modal-content').css("margin-top", top); }); } $('.modal').on('show.bs.modal', centerModals); $(window).on('resize', centerModals); //document.addEventListener("keydown", keydownFunction, false); if (isIE() == 8 || isIE() == 9) $(document).on("keydown", keydownFunction, true); else document.addEventListener("keydown", keydownFunction, true); function keydownFunction(e) { var code = e.keyCode; if (code == 13) { //Enter keycode if (location.hash.split('#')[1] == 'login') $('#login_with_google').modal('show'); } } $(document).ready(function () { if (location.hash.split('#')[1] == 'login') $('#login_with_google').modal('show'); if (location.hash.split('#')[1] == 'loginERP') { $('#exampleModal').modal('show'); $('#usernameLogin').val(location.hash.split('#')[2]); $("#errorpasswdLogin").html("Please enter correct password"); } }); </script> <script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"f7db8bc5f6","applicationID":"312689038","transactionName":"NFdTNxAHVkFUUkBdVg0dcAAWD1dcGkJRW1oMXEUGDBJIU1JUV1ZKBg==","queueTime":0,"applicationTime":803,"atts":"GBBQQVgdRU8=","errorBeacon":"bam.nr-data.net","agent":""}</script></body>