Skip to main content

Posts

Showing posts from August, 2016

INTRODUCTION ON HTML

What is HTML? HTML is a  markup  language for  describing  web documents (web pages). HTML stands for  H yper  T ext  M arkup  L anguage A markup language is a set of  markup tags HTML documents are described by  HTML tags Each HTML tag  describes  different document content HTML STRUCTURE: EXAMPLE: < !DOCTYPE  html > < html > < head > < title > Page Title < /title > < /head > < body > < h1 > My First Heading < /h1 > < p > My first paragraph. < /p > < /body > < /html > Example Explained The  <!DOCTYPE html>  declaration defines this document to be HTML5 The text between  <html>  and  </html>  describes an HTML document The text between  <head>  and  </head>  provides information about the document The text between  <title>  and  </title>  provides a title for the document The text between  <body>  and  <

HTML LAYOUT GUIDANCE

write code for   index.html file: <html> <head> <title> simple web page layout</title> <link rel="stylesheet"  type="text/css" href="layout.css"> </head> <body> <div class=wrapper> <div class=header>  it is header </div> <div class=navigation> it is navigation </div> <div  class=content> it is content </div> <div class=sidebar> it is side bar </div> <div class=footer> it is footer </div> </div> </body> </html> (2)write code  for   layout.css file: .wrapper { width:600px; background:#eee; margin:0 auto 0 auto; } .header { height:100px; background:red; padding:20px; text-align:center; } .navigation { height:50px; background:lightgreen; } .content { min-height:400px; background:#ddd; width:400px; float:left; } .sidebar { width:200px; float:right; background:orange; min-