2 HTML and Css Assignment PDF
2 HTML and Css Assignment PDF
Assignment No. : 2
Implement a web page index.htm for any client website (e.g., a restaurant website
project) using following: a. HTML syntax: heading tags, basic tags and attributes,
frames, tables, images, lists, links for text and images, forms etc. b. Use of Internal
CSS, Inline CSS, External CSS
Software Requirements:
1. Operating System: Windows 7/8/10/Ubuntu
2. Browser: Firefox/Google Chrome/ Microsoft Edge etc.
3. Software: Sublime Text Editor/Notepad/ Notepad ++
Hardware Requirements:
1. Processor: Minimum 1 GHz.
2. Ethernet connection (LAN) OR a wireless adapter (Wi-Fi)
3. Hard Drive: Minimum 32 GB.
4. Memory (RAM): Minimum 1 GB
5. Sound card-speakers/camera/microphone (Depending upon website selection)
HTML: HTML is the standard markup language for creating Web pages.
HTML Versions:
Table.1: HTML Versions
HTML 1991
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 2000
HTML 5 2014
CSS:
CSS stands for Cascading Style Sheet. It is nothing, but design language
intended to simplify the process of making web pages presentable.CSS
handles the feel and look part of a web page. By using CSS, one can control
the color of text, style of fonts, spacing between paragraphs, layout designs.
CSS is easy to learn, easy to understand and it provides powerful control on
presentation of an HTML document.
Advantages of CSS:
It saves the time, Pages load faster, Easy maintenance, Superior styles to
HTML, Multiple Device Compatibility, Global web standards, Offline
Browsing, Platform Independence.
CSS3 Modules:
CSS3 Modules are having old CSS specifications as well as extension features.
Box Model
Selectors
<style>
body {background-color: yellow ;}
h1 {color: blue;}
p {color: red;}
</style>
Example:
<link rel="stylesheet" href="styles.css">
Use the HTML <head> element to store <style> and <link> elements
Use the CSS color property for text colors
Use the CSS font-family property for text fonts
Use the CSS font-size property for text sizes
Use the CSS border property for borders
Use the CSS padding property for space inside the border
Use the CSS margin property for space outside the border
Hence, we have designed static web pages using HTML and CSS.