






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Html and css lecture with full details
Typology: Lecture notes
1 / 46
This page cannot be seen from the preview
Don't miss anything!







































Lecture 11: Web Development (Html & CSS) Instructor: Faima Abbasi Department of Computer Science, Bahria University Islamabad
Front-end https://www.youtube.com/watch?v=9Nr82jC6WoU
Do you imagine how this page would look like without HTML?
Without any markup to give your page content structure, the browser renders unformatted and unstyled text N o HTML?
HTML tags give structure and meaning to your content.
Structural Tags
These tags enclose the entire Web page document.
These tags enclose the Head part of the document
These tags enclose the title of the document. This text appears in the title bar in the browser and on the bookmark list if someone bookmarks your web page.
Sample Structure of a Web Site
John Q. Public's Web Page
This is John Public's Webpage!
Header Tags (cont.) H1 = Giant-sized and bold H2 = Large and bold
H4 = Small and bold H5 = Very Small and bold H6 = Tiny and bold
Breaking Lines and Paragraphs
text
- Paragraph tag - Most browsers render (process) this with blank lines between each paragraph -text a
text b
text bText Formatting Tags Some basic text formatting styles:
Italics Italics Bold Bold Preformatted Text Preformatted Text Strong Strong Address Address Citations Citations Source Code Source Code
Font modifications Web creators can also change the way text looks by using the tag SIZE="number" - changes size of the font; 1=smallest, 7 = largest Big Small Big Small COLOR="color-name" - changes text color This is red This is red FACE="font-name" - changes font This is the verdana font; this is the chicago font. This is the verdana font; this is chicago font.
Lists -- Unordered Lists Unordered lists:
Item One Item Two Item Three Item Four
Lists -- Ordered Lists
Item One Item Two Item Three Item Four