SlideShare a Scribd company logo
1 of 15
Download to read offline
| 1P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
HTML
HTML is a language for describing web pages.HTML stands for Hyper Text
Markup Language
A markup language is a set of commands that tell a computer how to format your
document.
A markup language is a set of markup tags .HTML uses markup tags to describe
web pages
HTML documents contain HTML tags and plain text
The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML
documents and display them as web pages. The browser does not display the
HTML tags, but uses the tags to interpret the content of the page:
The text between <html> and </html> describes the web page .The text between
<body> and </body> is the visible page content
Editing HTML :
HTML can be written and edited using many different editors, we use editor
Notepad to edit HTML.
.HTM or .HTML File Extension?
When you save an HTML file, you can use either the .htm or the .html file
extension. There is no difference
The beginning of the tag <>,The end of the tag is </>
Following are the HTML programs with their output:-
| 2P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
1. Design a webpage to display text ”Introduction to Information Technology” as
title on the page.
<html>
<body>
<Title> Introduction to Information Technology
</Title>
</body>
</html>
2. Design a webpage to scroll the text “ King Khalid University” right direction
using marquee tag.
<html>
<body>
<marquee direction=”right”> King Khalid University
</marquee>
</body>
</html>
| 3P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
3. Design a web page to write a simple paragraph.
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
</html>
| 4P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
4. Design a webpage to display text in different sizes using six heading tags.
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
| 5P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
5. Design a webpage to display another link on the page.
<html>
<body>
<a href="http://www.w3schools.com">
This is a link</a>
</body>
</html>
6. Design a webpage to display an image on the page.
<html>
<body>
<img src="C:UsersPublicPicturesSample Pictureskoala.jpg" width="104" height="142">
</body>
</html>
| 6P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
7. Design a web page to write a paragraph along with horizontal line.
<html>
<body>
<p>The hr tag defines a horizontal rule:</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
<hr>
<p>This is a paragraph.</p>
</body>
</html>
| 7P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
8. Design a web page to format a paragraph using different formatting options
like,bold,Italic,small.superscript and subscript.
<html>
<body>
<p><b>This text is bold</b></p>
<p><strong>This text is strong</strong></p>
<p><em>This text is emphasized</em></p>
<p><i>This text is italic</i></p>
<p><small>This text is small</small></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
</html>
| 8P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
9. Design a webpage to write a line of text from right to left using bi-directional
override.
<html>
<body>
<p>
If your browser supports bi-directional override (bdo), the next line will be written from the
right to the left (rtl):
</p>
<bdo dir="rtl">
Here is some Hebrew text
</bdo>
</body>
</html>
10.Design a webpage to mark deleted and inserted text.
<html>
<body>
<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>
<p>Notice that browsers will strikethrough deleted text and underline inserted text.</p>
</body>
</html>
| 9P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
11.Design a webpage as follows using style tag.
<html>
<body style="background-color:yellow;">
<h2 style="background-color:red;">This is a heading</h2>
<p style="background-color:green;">This is a paragraph.</p>
</body>
</html>
12.Design a webpage to display page background color as blue.
<html>
<body bgcolor=”blue”>
</body>
</html>
| 10P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
13. Design a webpage to display the unordered list of the following
<html>
<body>
<h4>An Unordered List:</h4>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
</body>
</html>
| 11P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
14. Design a webpage to display the ordered list of the following
<html>
<body>
<h4>An Ordered List:</h4>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>
15. Design a webpage to display “Welcome to KKU” at center of the
page
<html>
<body> <center> Welcome to KKU</center>
</body>
</html>
| 12P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
16. Design a webpage to create a simple ‘monthly Saving’ Table.
<html>
<body>
<table border="1">
<caption>Monthly savings</caption>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$50</td>
</tr>
</table>
</body>
</html>
| 13P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
17. Design a webpage to display check boxes on the page.
<html>
<body>
<form action="">
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
<input type="checkbox" name="vehicle" value="Car">I have a car
</form>
</body>
</html>
| 14P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
18. Design a webpage to display radio buttons on the page
<html>
<body>
<form action="">
<input type="radio" name="sex" value="male">Male<br>
<input type="radio" name="sex" value="female">Female
</form>
</body>
</html>
19. Design a webpage to create a button on the form.
<html>
<body>
<form action="">
<input type="button" value="Hello world!">
</form>
</body>
</html>
| 15P a g e
Prepared by: Miss Humera Gull Dept: Information System, KKU
20. Design a webpage to create a text field on the form.
<html>
<body>
<form action=" ">
First name: <input type="text" name="first name"><br>
Last name: <input type="text" name="last name">
</form>
</body>
</html>

More Related Content

What's hot

CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style SheetCodewizacademy
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageCodewizacademy
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web developmentMuhammad Shafiq
 
Master pages ppt
Master pages pptMaster pages ppt
Master pages pptIblesoft
 
Basic HTML Tutorial For Beginners
Basic HTML Tutorial For BeginnersBasic HTML Tutorial For Beginners
Basic HTML Tutorial For BeginnersDHTMLExtreme
 
Web Design Course - Lecture 2 - HTML Tag, Element, Attributes
Web Design Course - Lecture 2 - HTML Tag, Element, AttributesWeb Design Course - Lecture 2 - HTML Tag, Element, Attributes
Web Design Course - Lecture 2 - HTML Tag, Element, AttributesAl-Mamun Sarkar
 
Basics tags for HTML
Basics tags for HTMLBasics tags for HTML
Basics tags for HTMLvidyamittal
 
Introduction to html | Rustcode
Introduction to html | RustcodeIntroduction to html | Rustcode
Introduction to html | RustcodeRustcode Web
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingMubashir Ali
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags shameen khan
 

What's hot (17)

CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style Sheet
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
Master pages ppt
Master pages pptMaster pages ppt
Master pages ppt
 
Lecture1and2
Lecture1and2Lecture1and2
Lecture1and2
 
Basic HTML Tutorial For Beginners
Basic HTML Tutorial For BeginnersBasic HTML Tutorial For Beginners
Basic HTML Tutorial For Beginners
 
Html.ppt
Html.pptHtml.ppt
Html.ppt
 
Web Design Course - Lecture 2 - HTML Tag, Element, Attributes
Web Design Course - Lecture 2 - HTML Tag, Element, AttributesWeb Design Course - Lecture 2 - HTML Tag, Element, Attributes
Web Design Course - Lecture 2 - HTML Tag, Element, Attributes
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Basics tags for HTML
Basics tags for HTMLBasics tags for HTML
Basics tags for HTML
 
Introduction to html | Rustcode
Introduction to html | RustcodeIntroduction to html | Rustcode
Introduction to html | Rustcode
 
19 div
19 div19 div
19 div
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block Building
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags
 
Java script and html new
Java script and html newJava script and html new
Java script and html new
 
Java script and html
Java script and htmlJava script and html
Java script and html
 

Viewers also liked (17)

Cv taha 1
Cv taha 1Cv taha 1
Cv taha 1
 
muhammaad ahsan
muhammaad ahsanmuhammaad ahsan
muhammaad ahsan
 
iftikhar. c.v
iftikhar. c.viftikhar. c.v
iftikhar. c.v
 
humaira resume
humaira resumehumaira resume
humaira resume
 
RESUME
RESUMERESUME
RESUME
 
Humaira Rizvi Resume
Humaira Rizvi ResumeHumaira Rizvi Resume
Humaira Rizvi Resume
 
Muhammad Aftab Alam
Muhammad Aftab AlamMuhammad Aftab Alam
Muhammad Aftab Alam
 
Muhammad Nauman (1)
Muhammad Nauman (1)Muhammad Nauman (1)
Muhammad Nauman (1)
 
Edger allan poe
Edger allan poeEdger allan poe
Edger allan poe
 
Muhammad Ali Accountant
Muhammad Ali AccountantMuhammad Ali Accountant
Muhammad Ali Accountant
 
Asma curso medicos_generales_dr_gutierrez
Asma  curso medicos_generales_dr_gutierrezAsma  curso medicos_generales_dr_gutierrez
Asma curso medicos_generales_dr_gutierrez
 
Feminism By Amna Tariq
Feminism By Amna TariqFeminism By Amna Tariq
Feminism By Amna Tariq
 
Fatima CV
Fatima CVFatima CV
Fatima CV
 
Aamer - CV 21.02.2016
Aamer - CV 21.02.2016Aamer - CV 21.02.2016
Aamer - CV 21.02.2016
 
Muhammad adeel ahmad original
Muhammad adeel ahmad originalMuhammad adeel ahmad original
Muhammad adeel ahmad original
 
Clean Rooms-Classification-by Amna Saeed
Clean Rooms-Classification-by Amna SaeedClean Rooms-Classification-by Amna Saeed
Clean Rooms-Classification-by Amna Saeed
 
NAVEED RESUME
NAVEED RESUMENAVEED RESUME
NAVEED RESUME
 

Similar to Webpage Designing in HTML

Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalorefathima12
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTMLMehul Patel
 
HTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxHTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxadampcarr67227
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptDrShamikTiwari
 
web development html css javascrptt902350_HTML_Jar.ppt
web development html css javascrptt902350_HTML_Jar.pptweb development html css javascrptt902350_HTML_Jar.ppt
web development html css javascrptt902350_HTML_Jar.pptPuniNihithasree
 
Basics-of-HTML.ppt
Basics-of-HTML.pptBasics-of-HTML.ppt
Basics-of-HTML.pptBala Anand
 
html presentation on basis of tage .ppt
html presentation on basis of tage  .ppthtml presentation on basis of tage  .ppt
html presentation on basis of tage .pptProgressiveHeights2
 
902350_HTML_Jar.ppt
902350_HTML_Jar.ppt902350_HTML_Jar.ppt
902350_HTML_Jar.pptARUNVEVO1
 
Leksion 1 hyrje ne xhtml
Leksion 1   hyrje ne xhtmlLeksion 1   hyrje ne xhtml
Leksion 1 hyrje ne xhtmlmariokenga
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 htmlhome
 

Similar to Webpage Designing in HTML (20)

Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
 
Html -2
Html -2Html -2
Html -2
 
HTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxHTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docx
 
HTML
HTMLHTML
HTML
 
html tags
 html tags html tags
html tags
 
Lesson plan htmltextformattingtag
Lesson plan htmltextformattingtagLesson plan htmltextformattingtag
Lesson plan htmltextformattingtag
 
WDD
WDDWDD
WDD
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.ppt
 
902350 html jar
902350 html jar902350 html jar
902350 html jar
 
902350_HTML_Jar.ppt
902350_HTML_Jar.ppt902350_HTML_Jar.ppt
902350_HTML_Jar.ppt
 
DOC-20220920-WA0012..pptx
DOC-20220920-WA0012..pptxDOC-20220920-WA0012..pptx
DOC-20220920-WA0012..pptx
 
web development html css javascrptt902350_HTML_Jar.ppt
web development html css javascrptt902350_HTML_Jar.pptweb development html css javascrptt902350_HTML_Jar.ppt
web development html css javascrptt902350_HTML_Jar.ppt
 
Basics-of-HTML.ppt
Basics-of-HTML.pptBasics-of-HTML.ppt
Basics-of-HTML.ppt
 
902350_HTML_Jar.ppt
902350_HTML_Jar.ppt902350_HTML_Jar.ppt
902350_HTML_Jar.ppt
 
html presentation on basis of tage .ppt
html presentation on basis of tage  .ppthtml presentation on basis of tage  .ppt
html presentation on basis of tage .ppt
 
Intro to HTML
Intro to HTMLIntro to HTML
Intro to HTML
 
902350_HTML_Jar.ppt
902350_HTML_Jar.ppt902350_HTML_Jar.ppt
902350_HTML_Jar.ppt
 
Leksion 1 hyrje ne xhtml
Leksion 1   hyrje ne xhtmlLeksion 1   hyrje ne xhtml
Leksion 1 hyrje ne xhtml
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 html
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 

Webpage Designing in HTML

  • 1. | 1P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU HTML HTML is a language for describing web pages.HTML stands for Hyper Text Markup Language A markup language is a set of commands that tell a computer how to format your document. A markup language is a set of markup tags .HTML uses markup tags to describe web pages HTML documents contain HTML tags and plain text The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page: The text between <html> and </html> describes the web page .The text between <body> and </body> is the visible page content Editing HTML : HTML can be written and edited using many different editors, we use editor Notepad to edit HTML. .HTM or .HTML File Extension? When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference The beginning of the tag <>,The end of the tag is </> Following are the HTML programs with their output:-
  • 2. | 2P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 1. Design a webpage to display text ”Introduction to Information Technology” as title on the page. <html> <body> <Title> Introduction to Information Technology </Title> </body> </html> 2. Design a webpage to scroll the text “ King Khalid University” right direction using marquee tag. <html> <body> <marquee direction=”right”> King Khalid University </marquee> </body> </html>
  • 3. | 3P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 3. Design a web page to write a simple paragraph. <html> <body> <p>This is a paragraph.</p> <p>This is a paragraph.</p> <p>This is a paragraph.</p> </body> </html>
  • 4. | 4P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 4. Design a webpage to display text in different sizes using six heading tags. <html> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> </body> </html>
  • 5. | 5P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 5. Design a webpage to display another link on the page. <html> <body> <a href="http://www.w3schools.com"> This is a link</a> </body> </html> 6. Design a webpage to display an image on the page. <html> <body> <img src="C:UsersPublicPicturesSample Pictureskoala.jpg" width="104" height="142"> </body> </html>
  • 6. | 6P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 7. Design a web page to write a paragraph along with horizontal line. <html> <body> <p>The hr tag defines a horizontal rule:</p> <hr> <p>This is a paragraph.</p> <hr> <p>This is a paragraph.</p> <hr> <p>This is a paragraph.</p> </body> </html>
  • 7. | 7P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 8. Design a web page to format a paragraph using different formatting options like,bold,Italic,small.superscript and subscript. <html> <body> <p><b>This text is bold</b></p> <p><strong>This text is strong</strong></p> <p><em>This text is emphasized</em></p> <p><i>This text is italic</i></p> <p><small>This text is small</small></p> <p>This is<sub> subscript</sub> and <sup>superscript</sup></p> </body> </html>
  • 8. | 8P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 9. Design a webpage to write a line of text from right to left using bi-directional override. <html> <body> <p> If your browser supports bi-directional override (bdo), the next line will be written from the right to the left (rtl): </p> <bdo dir="rtl"> Here is some Hebrew text </bdo> </body> </html> 10.Design a webpage to mark deleted and inserted text. <html> <body> <p>My favorite color is <del>blue</del> <ins>red</ins>!</p> <p>Notice that browsers will strikethrough deleted text and underline inserted text.</p> </body> </html>
  • 9. | 9P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 11.Design a webpage as follows using style tag. <html> <body style="background-color:yellow;"> <h2 style="background-color:red;">This is a heading</h2> <p style="background-color:green;">This is a paragraph.</p> </body> </html> 12.Design a webpage to display page background color as blue. <html> <body bgcolor=”blue”> </body> </html>
  • 10. | 10P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 13. Design a webpage to display the unordered list of the following <html> <body> <h4>An Unordered List:</h4> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> </body> </html>
  • 11. | 11P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 14. Design a webpage to display the ordered list of the following <html> <body> <h4>An Ordered List:</h4> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html> 15. Design a webpage to display “Welcome to KKU” at center of the page <html> <body> <center> Welcome to KKU</center> </body> </html>
  • 12. | 12P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 16. Design a webpage to create a simple ‘monthly Saving’ Table. <html> <body> <table border="1"> <caption>Monthly savings</caption> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> <tr> <td>February</td> <td>$50</td> </tr> </table> </body> </html>
  • 13. | 13P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 17. Design a webpage to display check boxes on the page. <html> <body> <form action=""> <input type="checkbox" name="vehicle" value="Bike">I have a bike<br> <input type="checkbox" name="vehicle" value="Car">I have a car </form> </body> </html>
  • 14. | 14P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 18. Design a webpage to display radio buttons on the page <html> <body> <form action=""> <input type="radio" name="sex" value="male">Male<br> <input type="radio" name="sex" value="female">Female </form> </body> </html> 19. Design a webpage to create a button on the form. <html> <body> <form action=""> <input type="button" value="Hello world!"> </form> </body> </html>
  • 15. | 15P a g e Prepared by: Miss Humera Gull Dept: Information System, KKU 20. Design a webpage to create a text field on the form. <html> <body> <form action=" "> First name: <input type="text" name="first name"><br> Last name: <input type="text" name="last name"> </form> </body> </html>