Web Design Notes
Web Design Notes
CONTENTS
WEB DESIGN...............................................................................................................................................1
WEB DESIGN...............................................................................................................................................2
1.0 INTRODUCTION...................................................................................................................................2
1.1 INTERNET........................................................................................................................................2
1.2 WORLD WIDE WEB (WWW).........................................................................................................2
1.3 TOOLS USED IN WEB DESIGN....................................................................................................2
1.3.1 WEB SERVERS........................................................................................................................2
1.3.2 WEB CLIENTS.........................................................................................................................2
1.4 WEB DESIGN...................................................................................................................................2
1.5 INTRODUCTION TO HTML.................................................................................................................2
1.5.1 CODING...............................................................................................................................................2
1.7 CASCADING STYLE SHEET...............................................................................................................3
1.8 MYSQL....................................................................................................................................................3
1.9 PHP..........................................................................................................................................................3
2.0 JAVA SCRIPT.........................................................................................................................................3
2.1 BASIC WEBSITES.................................................................................................................................3
1.0 INTRODUCTION
Web Design refers to writings, markup and coding involved in web development which includes
web content, web client, server scripting and Network security.
1.1 INTERNET
Internet is the global interconnection of computers for the purpose of sharing Web resources and internet.
Web resources include: Files like videos, Documents, Graphics etc.
Internet is facilitated by:
1. web browsers used to navigate through web pages
2. Web Servers that provides response to client requests.
REQUEST
CLIENT/ WEB/SERVER
BROWSER
RESPONSE
Web sharable resources include: Files (Videos, Music, documents etc.) and Internet.
1. Tag-Formatting i.e. how a website will appear: <head>, <title>, <h>, <p>
among others. Tags are enclosed with angle brackets known as carets.
2. Content between the tags-It’s found between the opening and closing tags i.e. It
is the actual content to be displayed on the web browser.
<p>This is the content between the p tag</p>
<!DOCTYPE tml>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
……This is where the main content is defined like Paragraphs, Headings and other objects……….
</body>
</html>
<head>- Includes title, scripts used, styles definition and document description
<title>- Contains the document title that appears at the title of the document on the browser.
<body>- All the content including heading tags, paragraphs tags etc. are quoted here
HTML ATTRIBUTES
1. HTML Marquee
Html marquee helps users create a flowing text, its defined using the marquee tag
<marquee>
It is used to group the logically related labels within an html form. The <legend> is used
with <fieldset> as first-child to define the caption for the grouped related fields e.g
<fieldset>
<legend>This is a grouped content</legend>
</fieldset>
3. HTML Lists
<ol>
<li>Tea</li>
<li>Coffee</li>
<li>Chocolate</li>
</ol>
b. Unordered Lists
The items of unordered list are not orderly listed. They are listed using dots rather. <ul>
defines unordered list.
<ul>
<li>Tea</li>
<li>Coffee</li>
<li>Chocolate</li>
</ul>
4. HTML images
Images can be inserted into a web page by html code. The <img> defines a html image. The src
attribute defines the name and location of an image from a user computer while the alt defines an
alternative image if the original image is not found.
A html link is a text that contains an address of another location like a web page. Once a link is
clicked, it directs a user to another web page. Anchor tag <a> is used to define html links.
6. HTML Forms
Html forms are used to collet user input, send them to the server for processing and storage in the
databases. The <form> defines a html form.
Form data DB
<form action=""></form>
Boxes in HTM are used to select options and buttons are used to give alerts.
1. Check boxes
Used when a user is to select one or more options from a list of given options.
2. Radio buttons
They are used to give message popups to the users when an action is triggered on them.
4. SUBMIT BUTTONS
<button type="submit">Submit</button>
5. RESET BUTTON
<button type="reset">Submit</button>