SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
| 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>

Weitere ähnliche Inhalte

Was ist angesagt?

Master pages ppt
Master pages pptMaster pages ppt
Master pages ppt
Iblesoft
 
Basics tags for HTML
Basics tags for HTMLBasics tags for HTML
Basics tags for HTML
vidyamittal
 

Was ist angesagt? (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
 

Andere mochten auch

Humaira Rizvi Resume
Humaira Rizvi ResumeHumaira Rizvi Resume
Humaira Rizvi Resume
Humaira Rizvi
 
Muhammad Aftab Alam
Muhammad Aftab AlamMuhammad Aftab Alam
Muhammad Aftab Alam
M.AFTAB ALAM
 
Muhammad Ali Accountant
Muhammad Ali AccountantMuhammad Ali Accountant
Muhammad Ali Accountant
muhammad ali
 

Andere mochten auch (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
 

Ähnlich wie Webpage Designing in HTML

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
adampcarr67227
 
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
PuniNihithasree
 
Leksion 1 hyrje ne xhtml
Leksion 1   hyrje ne xhtmlLeksion 1   hyrje ne xhtml
Leksion 1 hyrje ne xhtml
mariokenga
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 html
home
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
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
kauryashika82
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
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
heathfieldcps1
 

Kürzlich hochgeladen (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
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
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
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- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

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>