Professional Documents
Culture Documents
Ict Saed PDF
Ict Saed PDF
Ict Saed PDF
WEB DEVELOPMENT
CLASSIC SYSTEM INFOTECH LIMITED
30, IBADAN ROAD, MAYFAIR, ILE-IFE.
WEB DEVELOPMENT
• Business Websites
• Blog Websites
• Portfolio Website
• E-commerce Websites
• Personal Websites
• Landing page Websites
• News Websites
WEB DEVELOPMENT TYPE
It is only when you code you have full control over your content, layout and style.
WEB DEVELOPMENT (CODING)
Facebook’s front-end are those boxes, back-end are the pictures, videos and posts
WORLD WIDE WEB COMMUNICATION
• The World Wide Web is about communication between web clients (browser) and web servers
(computers in the cloud).
Communication between clients and servers is done by requests and responses through (HTTP):
• A client (a browser) sends an HTTP request to the web
• A web server receives the request
• The server runs an application to process the request
• The server returns an HTTP response (output) to the browser
• The client (the browser) receives the response which are files (HTML, CSS, Js, PNG, JSON) stored
on the web server, interpret and then display to the user.
FRONT-END
WEB DEVELOPMENT
HTML: STRUCTURES WEB PAGES
CSS: STYLE WEB PAGES
JAVASCRIPT: ADD INTERACTIVITY TO WEB PAGES
DEVELOPMENT ENVIRONMENT (EDITORS)
Note: All plain text editors (that does not format text) will work fine for writing
codes e.g Notepad
FILE FORMATS
Just like music and movies have file formats (commonly mp3 and mp4), web
files have too. This tells the web browser (interpreter) what a file is meant to do
(structure, style, add interactivity) and how it reads it.
• Create files with name that preferably describes its use and ending the file
name with dot (.) html or css if it were to contain HTML or CSS code
respectively.
• JavaScript file names are to end with dot (.) js
• Imported images can end with dot (.) png, jpg, jpeg
HTML: Hyper-text Markup Language
• Example is:
<img src=“nysc.jpg" width="500" height="600” alt=“nysc logo”>
HTML ELEMENT ATTRIBUTES EXAMPLE
HTML TABLE
• A table is declared with <table> tag in HTML and it consists of table cells
inside rows and columns.
• <tr> is use for table rows, <th> - table head and <td> for the data in each
rows
HTML LINKS
• <a> tag is use for links and the href attribute indicates the link's destination.
• Links can be absolute (external) or relative (internal).
• It is also used with id ‘#’ to create webpage bookmarks linking to the id element
<h2 id="C4">Section two</h2> <a href="#C4">Goto Section two</a>
HTML FORMS
• Form, input and label elements
• Form input type can be button, checkbox, text, radio, submit, password, email
HTML CLASS AND ID
• HTML class and id attribute are used to specify a class or id for an HTML element.
• Multiple HTML elements can share the same class but not an Id. It is unique.
• These two are often used by CSS to style the elements that contain them. Class name is
prefixed by ‘.’ while id is prefixed by ‘#’
SEMANTIC HTML ELEMENTS
• A semantic element clearly describes its meaning to both the browser and the developer.
• Non semantic elements include <div> and <span>
CSS: Cascading Style Sheets
• Internal External
<head>
<style> <link rel="stylesheet" href="mystyle.css">
------------
</style>
</head>
CSS: COMMONLY USED
CSS: TEXT FORMATTING
TEXT ALIGN TEXT DECORATION
h1 { h1 {
text-align: center; text-decoration-line: overline; TEXT TRANSFORM
} } p.uppercase {
text-transform: uppercase;
h2 { h2 { }
text-align: left; text-decoration-line: line-through;
} } p.lowercase {
text-transform: lowercase;
h3 { h3 { }
text-align: right; text-decoration-line: underline;
} } p.capitalize {
text-transform: capitalize;
p{ p{ }
text-align: Justify text-decoration-line: overline
} underline;
}
CSS: EXAMPLE
HTML–CSS PROJECT
HTML–CSS PROJECT cont.
HTML–CSS PROJECT cont.
CSS FRAMEWORK: BOOTSTRAP
• Bootstrap is a free front-end framework for faster and easier web development
• Bootstrap includes HTML and CSS based design templates for typography,
forms, buttons, tables, navigation, modals, image carousels and many other,
as well as optional JavaScript plugins
• Bootstrap also gives you the ability to easily create responsive designs.
Responsive web design is about creating web sites which automatically adjust
themselves to look good on all devices, from small phones to large desktops.
HOW BOOTSTRAP WORKS
• Bootstrap is a free front-end framework for faster and easier web development
• Bootstrap includes HTML and CSS based design templates for typography, forms,
buttons, tables, navigation, modals, image carousels and many other, as well as
optional JavaScript plugins.
• Bootstrap also gives you the ability to easily create responsive designs. Responsive
web design is about creating web sites which automatically adjust themselves to
look good on all devices, from small phones to large desktops.
• CSS and JavaScript codes have been writing for us. We just need to add classes
that correspond to the functionality we want to our html to use them.
USING BOOTSTRAP IN YOUR PROJECT
• Downloading Bootstrap 5
If you want to download and host Bootstrap yourself, go to
https://getbootstrap.com/, and follow the instructions there.
BOOTSTRAP: GETTING STARTED
• To be determined
• To be determined
• To be determined
WEB HOSTING AND DOMAIN NAME
• Web hosting is a service that allow you to host your website files and make it
online for access through the internet.
• Domain name is the name of your website. Representing the servers IP
address.
• Most web hosting platforms also provide domain names.
• Hosting is your house where you keep your files, domain is your address.
• Cheap web hosting providers include NAMECHEAP and HOSTINGER
• Free web hosting providers include NETLIFY and GITHUB
• Signup and follow the instruction of any of the sites above to host your site.
EDITING HOSTED WEBSITE
• Though each hosting website has there own unique interface and features
provided to update your hosted contents, you will generally find it the link to it
on your dashboard after login into your account.
• When providers don have an editor to allow you directly edit your files, you
have to delete the old and upload the recent one.
DOCUMENTATIONS FOR FUTHER STUDYING
• Sams Teach yourself web publishing with html and css in one hour a day - 6th edition
(Sams, 2010)
• CSS: The definitive guide. 5th edition (O’Reilly, 2017)
• W3schools http://w3schools.com
• Mozilla developer network (MDN) http://developer.mozilla.org
• Bootstrap https://getbootstrap.com/
SAED ICT TRAINING:
WEB DEVELOPMENT
INSTRUCTOR
ABDULRAHAMAN KEHINDE
08103346220