SlideShare a Scribd company logo
Web Forms and
HTML
Sam
Lecture-2
The <img>
• Images are very important to beautify as well as to depicts many concepts on your web page.
• Its is true that one single image is worth than thousands of words.
• Syntax:
• <img src="image URL" attr_name="attr_value"...more attributes />
• Following are most frequently used attributes for <img> tag.
• width: sets width of the image. This will have a value like 10 or 20%etc.
• height: sets height of the image. This will have a value like 10 or 20% etc.
• border: sets a border around the image. This will have a value like 1 or 2 etc.
• src: specifies URL of the image file.
• alt: this is an alternate text which will be displayed if image is missing.
• align: this sets horizontal alignment of the image and takes value either left, right orcenter.
• valign: this sets vertical alignment of the image and takes value either top, bottom orcenter.
• hspace: horizontal space around the image. This will have a value like 10 or 20%etc.
• vspace: vertical space around the image. This will have a value like 10 or 20%etc.
• name: name of the image with in the document.
• id: id of the image with in the document.
• style: this will be used if you are using CSS.
• title: specifies a text title. The browser, perhaps flashing the title when the mouse passes over the link.
• Example:
• <img src=" img.jpg" alt=" Image1" />
Links
• The web got its spidery name from the plentiful connections between web sites.
• These connections are made using anchor tags to create links. Text, Images.
• We Can have three types of links
1. Internal - Links to anchors on the current page
2. Local - Links to other pages within your domain
3. Global - Links to other domains outside of your site
• The “href “ attribute uses to link. See examples below.
• Examples:
<!– Example of intrernal -->
<a name=“title”> This is my title</a>
<a href=“#title”>Go to Title</a>
<!– Example of local -->
<a href=“page2.html”>Page2</a>
<!– Example of Global -->
<a href=“www.hidaya.org”>Hidaya Foundation</a>
HTML Email Tag:
• HTML <a> tag provides you facility to specifiy an email address to send an email.
• Example:
• <a href= "mailto:abc@example.com">Send Email</a>
Assignments
• Create a page consisting of :
• Table of content for 5-6 topics.
• Make topics with h1 as heading and below its description in paragraph.
• Make a "References" section with minimum 3 links.
• Link references to another pages (other websites) within certain content.
• Create a page consisting of:
• 2 to 3 links to other page
• The other page has descriptions of all links to which the link has to point
out
Questions
?
Questions
?

More Related Content

What's hot (17)

TXT
Seo hints
AbidKhan237
 
PPTX
Image
sidneyodingo
 
PPTX
HTML Lists & Llinks
Nisa Soomro
 
PPTX
Html tag presentation
kfalgout
 
PDF
HTML & CSS Basics
John Nelson
 
PDF
Scaling Complexity in WordPress Enterprise Apps
Mike Schinkel
 
PPTX
uptu web technology unit 2 html
Abhishek Kesharwani
 
PPTX
Optimizing Your Tendenci Site for SEO | SEO for CMS
Tendenci - The Open Source AMS (Association Management Software)
 
PDF
Styling with CSS
Mike Crabb
 
PPTX
Themes
Nihar Dodiya
 
PPTX
How to make a website
kierakeating
 
PPSX
Steph's Html5 and css presentation
stephy123123
 
PPT
2. html attributes
Muhammad Toqeer
 
PPT
Easy Guide to WordPress Theme Integration
Sankhala Info Solutions
 
PDF
Intro to HTML, CSS & JS - Internship Presentation Week-3
Devang Garach
 
PDF
An Intro to HTML & CSS
Shay Howe
 
PPTX
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 
Seo hints
AbidKhan237
 
HTML Lists & Llinks
Nisa Soomro
 
Html tag presentation
kfalgout
 
HTML & CSS Basics
John Nelson
 
Scaling Complexity in WordPress Enterprise Apps
Mike Schinkel
 
uptu web technology unit 2 html
Abhishek Kesharwani
 
Optimizing Your Tendenci Site for SEO | SEO for CMS
Tendenci - The Open Source AMS (Association Management Software)
 
Styling with CSS
Mike Crabb
 
Themes
Nihar Dodiya
 
How to make a website
kierakeating
 
Steph's Html5 and css presentation
stephy123123
 
2. html attributes
Muhammad Toqeer
 
Easy Guide to WordPress Theme Integration
Sankhala Info Solutions
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Devang Garach
 
An Intro to HTML & CSS
Shay Howe
 
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 

Similar to Web forms and html (lect 2) (20)

PPTX
More on HTML Communication Skills BASICS
GraceChokoli1
 
PPT
Web forms and html lecture Number 2
Mudasir Syed
 
PDF
Class Intro / HTML Basics
Shawn Calvert
 
PPTX
AttributesL3.pptx
KrishRaj48
 
PDF
Session4
Denise Garofalo
 
PPT
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
PPT
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
PPT
Introduction to HTML
Abzetdin Adamov
 
PPTX
HTML Coding
selcukca84
 
PPT
Basic tags
YogeshDhamke2
 
PPT
Basic tags
Abinash Thakur
 
PPT
IntroHTML.ppt
abhishek kumar
 
PPT
IntroHTML.ppt
HatemMagdyMohamed
 
PPT
HTML.ppt
HatemMagdyMohamed
 
PPTX
Part 1 -HTML- Basic_Spring 2023.pptx
Ahmad751599
 
PPTX
Frontend Devlopment internship batch 2024-2.pptx
bankheleom
 
PPTX
Frontend Devlopment internship batch 2024.pptx
bankheleom
 
PPT
Basic HTML Tag For beginner(std-8)CBSC.PPT
rinkalchawda
 
DOCX
1.2 Unit 2 Notes - for year 12 html.docx
DouglasSimiyu1
 
More on HTML Communication Skills BASICS
GraceChokoli1
 
Web forms and html lecture Number 2
Mudasir Syed
 
Class Intro / HTML Basics
Shawn Calvert
 
AttributesL3.pptx
KrishRaj48
 
Session4
Denise Garofalo
 
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
Introduction to HTML
Abzetdin Adamov
 
HTML Coding
selcukca84
 
Basic tags
YogeshDhamke2
 
Basic tags
Abinash Thakur
 
IntroHTML.ppt
abhishek kumar
 
IntroHTML.ppt
HatemMagdyMohamed
 
Part 1 -HTML- Basic_Spring 2023.pptx
Ahmad751599
 
Frontend Devlopment internship batch 2024-2.pptx
bankheleom
 
Frontend Devlopment internship batch 2024.pptx
bankheleom
 
Basic HTML Tag For beginner(std-8)CBSC.PPT
rinkalchawda
 
1.2 Unit 2 Notes - for year 12 html.docx
DouglasSimiyu1
 
Ad

More from Salman Memon (20)

PPTX
PHP Array very Easy Demo
Salman Memon
 
PPTX
Complete Lecture on Css presentation
Salman Memon
 
PPTX
How to Use Dreamweaver cs6
Salman Memon
 
PPTX
what is programming and its clear Concepts to the point
Salman Memon
 
PPTX
Working with variables in PHP
Salman Memon
 
PPT
Web forms and html (lect 5)
Salman Memon
 
PPT
Web forms and html (lect 4)
Salman Memon
 
PPT
Web forms and html (lect 3)
Salman Memon
 
PPT
Web forms and html (lect 1)
Salman Memon
 
PPT
Managing in the Future Enterprise
Salman Memon
 
PPT
Overview of Technology Management
Salman Memon
 
PPT
Align Information Technology and Business Strategy
Salman Memon
 
PPTX
WHITE BOX & BLACK BOX TESTING IN DATABASE
Salman Memon
 
PPTX
Email security netwroking
Salman Memon
 
PPTX
Email security - Netwroking
Salman Memon
 
PPTX
Query decomposition in data base
Salman Memon
 
PPTX
Time Management
Salman Memon
 
PPTX
Multimedea device and routes
Salman Memon
 
PPTX
Hash function
Salman Memon
 
PPTX
Data clustring
Salman Memon
 
PHP Array very Easy Demo
Salman Memon
 
Complete Lecture on Css presentation
Salman Memon
 
How to Use Dreamweaver cs6
Salman Memon
 
what is programming and its clear Concepts to the point
Salman Memon
 
Working with variables in PHP
Salman Memon
 
Web forms and html (lect 5)
Salman Memon
 
Web forms and html (lect 4)
Salman Memon
 
Web forms and html (lect 3)
Salman Memon
 
Web forms and html (lect 1)
Salman Memon
 
Managing in the Future Enterprise
Salman Memon
 
Overview of Technology Management
Salman Memon
 
Align Information Technology and Business Strategy
Salman Memon
 
WHITE BOX & BLACK BOX TESTING IN DATABASE
Salman Memon
 
Email security netwroking
Salman Memon
 
Email security - Netwroking
Salman Memon
 
Query decomposition in data base
Salman Memon
 
Time Management
Salman Memon
 
Multimedea device and routes
Salman Memon
 
Hash function
Salman Memon
 
Data clustring
Salman Memon
 
Ad

Recently uploaded (20)

PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Horarios de distribución de agua en julio
pegazohn1978
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 

Web forms and html (lect 2)

  • 3. The <img> • Images are very important to beautify as well as to depicts many concepts on your web page. • Its is true that one single image is worth than thousands of words. • Syntax: • <img src="image URL" attr_name="attr_value"...more attributes /> • Following are most frequently used attributes for <img> tag. • width: sets width of the image. This will have a value like 10 or 20%etc. • height: sets height of the image. This will have a value like 10 or 20% etc. • border: sets a border around the image. This will have a value like 1 or 2 etc. • src: specifies URL of the image file. • alt: this is an alternate text which will be displayed if image is missing. • align: this sets horizontal alignment of the image and takes value either left, right orcenter. • valign: this sets vertical alignment of the image and takes value either top, bottom orcenter. • hspace: horizontal space around the image. This will have a value like 10 or 20%etc. • vspace: vertical space around the image. This will have a value like 10 or 20%etc. • name: name of the image with in the document. • id: id of the image with in the document. • style: this will be used if you are using CSS. • title: specifies a text title. The browser, perhaps flashing the title when the mouse passes over the link. • Example: • <img src=" img.jpg" alt=" Image1" />
  • 4. Links • The web got its spidery name from the plentiful connections between web sites. • These connections are made using anchor tags to create links. Text, Images. • We Can have three types of links 1. Internal - Links to anchors on the current page 2. Local - Links to other pages within your domain 3. Global - Links to other domains outside of your site • The “href “ attribute uses to link. See examples below. • Examples: <!– Example of intrernal --> <a name=“title”> This is my title</a> <a href=“#title”>Go to Title</a> <!– Example of local --> <a href=“page2.html”>Page2</a> <!– Example of Global --> <a href=“www.hidaya.org”>Hidaya Foundation</a> HTML Email Tag: • HTML <a> tag provides you facility to specifiy an email address to send an email. • Example: • <a href= "mailto:[email protected]">Send Email</a>
  • 5. Assignments • Create a page consisting of : • Table of content for 5-6 topics. • Make topics with h1 as heading and below its description in paragraph. • Make a "References" section with minimum 3 links. • Link references to another pages (other websites) within certain content. • Create a page consisting of: • 2 to 3 links to other page • The other page has descriptions of all links to which the link has to point out