SlideShare ist ein Scribd-Unternehmen logo
1 von 36
GDSC GPREC
2022 – 2023
WEB CAMPAIGN
Introduction to HTML
Agenda
• Introduction to Web Development.
• Introduction to HTML
• Basic Structure of an HTML Document
• HTML Elements
• HTML Tables
• HTML Forms
• Conclusion
What is Web Development?
Web development refers to the process of creating and maintaining websites
It involves
• Designing
• Coding
• Publishing website on the internet.
Classified into two ways
1. Front-End Development
2. Back-End Development
How the web works?
What is HTTP?
HTTP (Hypertext Transfer Protocol) is a protocol for transmitting data over the
internet.
1. A client (a browser) sends an HTTP request to the web server
2. A web server receives the request
3. The server runs an application to process the request
4. The server returns an HTTP response (output) to the browser
5. The client (the browser) receives the response
HTTP Request/Response
What is HTML?
• HTML stands for Hyper Text Markup Language
• HTML is the standard markup language for creating Web
pages
• HTML describes the structure of a Web page
• HTML consists of a series of elements
• HTML elements tell the browser how to display the
content
Basic Structure of HTML Document
The Basic structure of an HTML document consists of 4 elements:
1. <!DOCTYPE>
2. <html>
3. <head>
4. <body>
1. <!DOCTYPE> : A DOCTYPE declaration must be specified on the first lineof
each web document. The DOCTYPE tells the web browser which version of
HTML the page is written in.
Eg: <!DOCTYPE html>
2. <html> : The <html> element tells the browser that the page will be
formatted in HTML and, optionally, which world language the page
content is in.
Eg: <html lang=“en”>
3. <head> : The <head> element contains meta information about the HTML
page. Metadata is data about the HTML document. Metadata is not
displayed.
The following elements can go inside the <head> element:
•<title> - specifies a title for the HTML page(required)
Eg: <title>GDSC GPREC</title>
•<style> - adds style information to a page
Eg: <style></style>
•<link> - links to an external style sheet
Eg: <link rel="stylesheet" href="styles.css">
•<meta> - defines metadata about an HTML
• Define keywords for search engines:
<meta name="keywords" content="HTML, CSS, JavaScript">
• Define a description of your web page:
<meta name="description" content="Free Web tutorials for HTML and CSS">
• Refresh document every 30 seconds:
<meta http-equiv="refresh" content="30">
• Setting the viewport to make your website look good on all devices:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
•<script> - used to embed a client-side script
Eg: <script> </script>
4. <body> : The <body> element defines the document's body, and is a
container for all the visible contents. Like, heading tags, Paragraph tags,
image tags, Link tags.
HTML Elements
• Heading tags : HTML headings are titles or subtitles that you want to display
on a webpage. HTML headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading. <h6> defines the least important
heading.
Eg:
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
• Paragraph tags : A paragraph always starts on a new line, and is usually a
block of text.
Eg: <p>Hello</p>
Styling tags:
<pre> - preformatted text, <i> - just italic, <b> - just bold, <strong> - bold plus
high importance, <em> - italic plus emphasized, <sup> - superscript,
<sub> - subscript
• Link Tag : The <a> tag defines a hyperlink, which is used to link from one
page to another.
• href. The href attribute specifies the URL of the page the link goes to.
• Target : where to open the linked document.
• _blank : Opens the linked document in a new window or tab
• _self : Opens the linked document in the same
• _parent : Opens the linked document in the parent frame
• _top : Opens the linked document in the full body of the window
• Eg: <a href="https://www.google.com" target=“_blank”>Open Google!</a>
• Image Tag : The <img> tag is used to embed an image in an HTML page.
• src : Specifies the path to the image
• alt : Specifies an alternate text for the image, if the image for some reason
cannot be displayed
• height : Specifies the height of an image(in pixels)
• width : Specifies the width of an image(in pixels)
Eg: <img src=“student.jpg" alt=“student-pic" width="42px" height="42px">
• List Tags : list tags are Ordered List and Unordered List
<ol> : The <ol> tag defines an ordered
list. An ordered list can be numerical
or alphabetical. The <li> tag is used to
define each list item
Eg: <ol>
<li>HTML</li>
<li>CSS</li>
</ol>
<ul> : The <ul> tag an unordered
(bulleted). The <li> tag is used to
define each list item.
Eg: <ul>
<li>HTML</li>
<li>CSS</li>
</ul>
HTML Table
• The <table> tag defines an HTML table. An HTML table consists of
one <table> element and one or more <tr>, <th>, and <td> elements.
• The <tr> element defines a table row,
• The <th> element defines a table header.
• The <td> element defines a table cell.
Attributes :
• Colspan - used to merge colums
eg: <td colspan=“2”></td>
<table>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>Raju</td>
<td>9</td>
</tr>
</table>
Form Tag
The <form> tag is used to create an HTML form for user input.
The <form> element can contain <input> , <label> , <options>, <textarea>.
Attributes
• Action : Specifies where to send the form-data when a form is submitted
• Method : Specifies the HTTP method to use when sending form-data
Eg : <form action=“”></form>
Input Tag : The <input> tag specifies an input field where the user can enter
data, this can be displayed in several ways, depending on the type attribute.
Eg : <input type=“text”>
where type can be button, checkbox, date, email, file, image, number,
password, radio, range, reset, submit.
Label Tag: The <label> tag defines a label for several elements . Label are used
for input tags.
• For : Specifies the id of the form element the label should be bound to.
Eg: <label for=“un”>UserName</label>
<input id= “un” type=“text”>
Audio Tag: The <audio> tag is used to embed sound content in a document, such
as music or other audio streams.
There are three supported audio formats in HTML: MP3, WAV, and OGG
Attributes:
• Controls : Specifies that audio controls should be displayed (such as a
play/pause button etc)
• Autoplay : Specifies that the audio will start playing as soon as it is ready
• Src : Specifies the URL of the audio file
Eg: <audio controls autoplay> <source src="horse.mp3" type="audio/mpeg">
</audio>
Video Tag: The <video> tag is used to embed video content in a document, such
as a movie clip or other video streams.
There are three supported audio formats in HTML: MP4, WebM, and OGG.
Attributes:
• Controls : Specifies that video controls should be displayed (such as a
play/pause button etc)
• Autoplay : Specifies that the video will start playing as soon as it is ready
• Src : Specifies the URL of the video file
Eg: <audio height=“310” width=“200” controls >
<source src="movie.mp4" type="video/mp4"> </audio>
Iframe Tag: The <iframe> tag specifies an inline frame.
An inline frame is used to embed another document within the current HTML
document.
Attributes:
• src : Specifies the address of the document to embed in the <iframe>
• height : Specifies the height of an <iframe>. Default height is 150 pixels
• width : Specifies the width of an <iframe>. Default width is 300 pixels.
Eg: <iframe width="420" height="315"
src="https://www.youtube.com/embed/tgbNymZ7vqY">
</iframe>
1. What does HTML stands for?
A. Hypertext Machine language.
B. Hypertext and links markup language.
C. Hypertext Markup Language.
D. Hightext machine language.
2. Which of the following HTML Elements is used
for making any text bold ?
A. <p>
B. <i>
C. <li>
D. <b>
3.Which of the following HTML element is used
for creating an unordered list?
A. <ui>
B. <i>
C. <em>
D. <ul>
4.What is the font-size of the h1 heading tag?
A. 3.5 em
B. 2.17 em
C. 2 em
D. 1.5 em
5.Which of the following are self closing Tags?
A. <br>, <img>, <h1>
B. <hr>, <pre>, <a>
C. <input>, <ol>, <b>
D. <img>, <br>, <hr>
6.Which of the following attributes is used to
add link to any element?
A. link
B. ref
C. href
D. newref
7.Which of the following tags is used to make a
portion of text italic in HTML?
A. <italic>
B. <i>
C. <style= “i”>
D. <style=“italic”>
8.Which of the following attributes is used
to open an hyperlink in new tab?
A. target
B. tab
C. href
D. ref
9.Which among the following is correct
HTML code for making a checkbox?
A. <checkbox>
B. <check>
C. <input type=“check”>
D. <input type=“checkbox>
10. Which of these elements are all <table>
elements?
A. <table> <tr> <td>
B. <table> <head> <tfoot>
C. <thead> <body> <tr>
D. <table> <tr> <tt>
THANK YOU
TO BE CONTINUED…….

Weitere ähnliche Inhalte

Was ist angesagt?

Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Devang Garach
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.pptVideoguy
 
Multimedia and Graphics Presentation
Multimedia and Graphics PresentationMultimedia and Graphics Presentation
Multimedia and Graphics PresentationMd.Naziur Rahman
 
Exploit Development with Python
Exploit Development with PythonExploit Development with Python
Exploit Development with PythonThomas Gregory
 
HTML practical guide for O/L exam
HTML practical guide for O/L examHTML practical guide for O/L exam
HTML practical guide for O/L examAnne Perera
 
Chapter 8 : MULTIMEDIA SKILLS
Chapter 8 : MULTIMEDIA SKILLSChapter 8 : MULTIMEDIA SKILLS
Chapter 8 : MULTIMEDIA SKILLSazira96
 
Internet security protocol
Internet security protocolInternet security protocol
Internet security protocolMousmi Pawar
 
Intro to HTML5 audio tag
Intro to HTML5 audio tagIntro to HTML5 audio tag
Intro to HTML5 audio tagsatejsahu
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSMario Hernandez
 
Authentication and authorization
Authentication and authorization Authentication and authorization
Authentication and authorization Ratan Parai
 
The Internet and Multimedia
The Internet and Multimedia The Internet and Multimedia
The Internet and Multimedia CeliaBSeaton
 
Git и GitHub для создания учебного контента
Git и GitHub для создания учебного контентаGit и GitHub для создания учебного контента
Git и GitHub для создания учебного контентаПупена Александр
 
HTML 5: Audio And Video
HTML 5: Audio And VideoHTML 5: Audio And Video
HTML 5: Audio And VideoReema
 

Was ist angesagt? (20)

Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.ppt
 
Multimedia and Graphics Presentation
Multimedia and Graphics PresentationMultimedia and Graphics Presentation
Multimedia and Graphics Presentation
 
HTML 5 Canvas & SVG
HTML 5 Canvas & SVGHTML 5 Canvas & SVG
HTML 5 Canvas & SVG
 
Html ppt
Html pptHtml ppt
Html ppt
 
Multimedia chapter 2
Multimedia chapter 2Multimedia chapter 2
Multimedia chapter 2
 
Exploit Development with Python
Exploit Development with PythonExploit Development with Python
Exploit Development with Python
 
HTML practical guide for O/L exam
HTML practical guide for O/L examHTML practical guide for O/L exam
HTML practical guide for O/L exam
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Chapter 8 : MULTIMEDIA SKILLS
Chapter 8 : MULTIMEDIA SKILLSChapter 8 : MULTIMEDIA SKILLS
Chapter 8 : MULTIMEDIA SKILLS
 
Internet security protocol
Internet security protocolInternet security protocol
Internet security protocol
 
Steganography
SteganographySteganography
Steganography
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Intro to HTML5 audio tag
Intro to HTML5 audio tagIntro to HTML5 audio tag
Intro to HTML5 audio tag
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Authentication and authorization
Authentication and authorization Authentication and authorization
Authentication and authorization
 
The Internet and Multimedia
The Internet and Multimedia The Internet and Multimedia
The Internet and Multimedia
 
Html
HtmlHtml
Html
 
Git и GitHub для создания учебного контента
Git и GitHub для создания учебного контентаGit и GitHub для создания учебного контента
Git и GitHub для создания учебного контента
 
HTML 5: Audio And Video
HTML 5: Audio And VideoHTML 5: Audio And Video
HTML 5: Audio And Video
 

Ähnlich wie gdsc-html-ppt.pptx

HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxwewit44414
 
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvZahouAmel1
 
Html part 2
Html part 2Html part 2
Html part 2lokenra
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptxMattMarino13
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptxmalrad1
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_mediaDhairya Joshi
 
introdution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptxintrodution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptxjayarao21
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page DesigningAmit Mali
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.pptSri Latha
 
HTML is a markup language used by the browser to manipulate text, images, and...
HTML is a markup language used by the browser to manipulate text, images, and...HTML is a markup language used by the browser to manipulate text, images, and...
HTML is a markup language used by the browser to manipulate text, images, and...ssuser6478a8
 
introdution-to-html (1).ppt
introdution-to-html (1).pptintrodution-to-html (1).ppt
introdution-to-html (1).pptF3ZONE1
 
introdution-to-html.ppt NJBJGHGJHGGJGJG
introdution-to-html.ppt  NJBJGHGJHGGJGJGintrodution-to-html.ppt  NJBJGHGJHGGJGJG
introdution-to-html.ppt NJBJGHGJHGGJGJGAMRITHA16
 
introdution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbeintrodution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbeJamaicaCabrales
 

Ähnlich wie gdsc-html-ppt.pptx (20)

HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
 
Html5 tags
Html5 tagsHtml5 tags
Html5 tags
 
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 
Html part 2
Html part 2Html part 2
Html part 2
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
 
HTML (part ii).pptx
HTML (part ii).pptxHTML (part ii).pptx
HTML (part ii).pptx
 
introdution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptxintrodution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptx
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
summary html.ppt
summary html.pptsummary html.ppt
summary html.ppt
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
HTML is a markup language used by the browser to manipulate text, images, and...
HTML is a markup language used by the browser to manipulate text, images, and...HTML is a markup language used by the browser to manipulate text, images, and...
HTML is a markup language used by the browser to manipulate text, images, and...
 
introdution-to-html (1).ppt
introdution-to-html (1).pptintrodution-to-html (1).ppt
introdution-to-html (1).ppt
 
introdution-to-html.ppt NJBJGHGJHGGJGJG
introdution-to-html.ppt  NJBJGHGJHGGJGJGintrodution-to-html.ppt  NJBJGHGJHGGJGJG
introdution-to-html.ppt NJBJGHGJHGGJGJG
 
html.pptx
html.pptxhtml.pptx
html.pptx
 
introdution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbeintrodution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbe
 

Kürzlich hochgeladen

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Kürzlich hochgeladen (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 

gdsc-html-ppt.pptx

  • 1. GDSC GPREC 2022 – 2023 WEB CAMPAIGN Introduction to HTML
  • 2. Agenda • Introduction to Web Development. • Introduction to HTML • Basic Structure of an HTML Document • HTML Elements • HTML Tables • HTML Forms • Conclusion
  • 3. What is Web Development? Web development refers to the process of creating and maintaining websites It involves • Designing • Coding • Publishing website on the internet. Classified into two ways 1. Front-End Development 2. Back-End Development
  • 4. How the web works?
  • 5. What is HTTP? HTTP (Hypertext Transfer Protocol) is a protocol for transmitting data over the internet. 1. A client (a browser) sends an HTTP request to the web server 2. A web server receives the request 3. The server runs an application to process the request 4. The server returns an HTTP response (output) to the browser 5. The client (the browser) receives the response HTTP Request/Response
  • 6.
  • 7. What is HTML? • HTML stands for Hyper Text Markup Language • HTML is the standard markup language for creating Web pages • HTML describes the structure of a Web page • HTML consists of a series of elements • HTML elements tell the browser how to display the content
  • 8. Basic Structure of HTML Document The Basic structure of an HTML document consists of 4 elements: 1. <!DOCTYPE> 2. <html> 3. <head> 4. <body>
  • 9. 1. <!DOCTYPE> : A DOCTYPE declaration must be specified on the first lineof each web document. The DOCTYPE tells the web browser which version of HTML the page is written in. Eg: <!DOCTYPE html> 2. <html> : The <html> element tells the browser that the page will be formatted in HTML and, optionally, which world language the page content is in. Eg: <html lang=“en”>
  • 10. 3. <head> : The <head> element contains meta information about the HTML page. Metadata is data about the HTML document. Metadata is not displayed. The following elements can go inside the <head> element: •<title> - specifies a title for the HTML page(required) Eg: <title>GDSC GPREC</title> •<style> - adds style information to a page Eg: <style></style> •<link> - links to an external style sheet Eg: <link rel="stylesheet" href="styles.css">
  • 11. •<meta> - defines metadata about an HTML • Define keywords for search engines: <meta name="keywords" content="HTML, CSS, JavaScript"> • Define a description of your web page: <meta name="description" content="Free Web tutorials for HTML and CSS"> • Refresh document every 30 seconds: <meta http-equiv="refresh" content="30"> • Setting the viewport to make your website look good on all devices: <meta name="viewport" content="width=device-width, initial-scale=1.0">
  • 12. •<script> - used to embed a client-side script Eg: <script> </script> 4. <body> : The <body> element defines the document's body, and is a container for all the visible contents. Like, heading tags, Paragraph tags, image tags, Link tags.
  • 13.
  • 14. HTML Elements • Heading tags : HTML headings are titles or subtitles that you want to display on a webpage. HTML headings are defined with the <h1> to <h6> tags. <h1> defines the most important heading. <h6> defines the least important heading. Eg: <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6</h6>
  • 15. • Paragraph tags : A paragraph always starts on a new line, and is usually a block of text. Eg: <p>Hello</p> Styling tags: <pre> - preformatted text, <i> - just italic, <b> - just bold, <strong> - bold plus high importance, <em> - italic plus emphasized, <sup> - superscript, <sub> - subscript
  • 16. • Link Tag : The <a> tag defines a hyperlink, which is used to link from one page to another. • href. The href attribute specifies the URL of the page the link goes to. • Target : where to open the linked document. • _blank : Opens the linked document in a new window or tab • _self : Opens the linked document in the same • _parent : Opens the linked document in the parent frame • _top : Opens the linked document in the full body of the window • Eg: <a href="https://www.google.com" target=“_blank”>Open Google!</a>
  • 17. • Image Tag : The <img> tag is used to embed an image in an HTML page. • src : Specifies the path to the image • alt : Specifies an alternate text for the image, if the image for some reason cannot be displayed • height : Specifies the height of an image(in pixels) • width : Specifies the width of an image(in pixels) Eg: <img src=“student.jpg" alt=“student-pic" width="42px" height="42px">
  • 18. • List Tags : list tags are Ordered List and Unordered List <ol> : The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical. The <li> tag is used to define each list item Eg: <ol> <li>HTML</li> <li>CSS</li> </ol> <ul> : The <ul> tag an unordered (bulleted). The <li> tag is used to define each list item. Eg: <ul> <li>HTML</li> <li>CSS</li> </ul>
  • 19. HTML Table • The <table> tag defines an HTML table. An HTML table consists of one <table> element and one or more <tr>, <th>, and <td> elements. • The <tr> element defines a table row, • The <th> element defines a table header. • The <td> element defines a table cell. Attributes : • Colspan - used to merge colums eg: <td colspan=“2”></td>
  • 21. Form Tag The <form> tag is used to create an HTML form for user input. The <form> element can contain <input> , <label> , <options>, <textarea>. Attributes • Action : Specifies where to send the form-data when a form is submitted • Method : Specifies the HTTP method to use when sending form-data Eg : <form action=“”></form>
  • 22. Input Tag : The <input> tag specifies an input field where the user can enter data, this can be displayed in several ways, depending on the type attribute. Eg : <input type=“text”> where type can be button, checkbox, date, email, file, image, number, password, radio, range, reset, submit. Label Tag: The <label> tag defines a label for several elements . Label are used for input tags. • For : Specifies the id of the form element the label should be bound to. Eg: <label for=“un”>UserName</label> <input id= “un” type=“text”>
  • 23. Audio Tag: The <audio> tag is used to embed sound content in a document, such as music or other audio streams. There are three supported audio formats in HTML: MP3, WAV, and OGG Attributes: • Controls : Specifies that audio controls should be displayed (such as a play/pause button etc) • Autoplay : Specifies that the audio will start playing as soon as it is ready • Src : Specifies the URL of the audio file Eg: <audio controls autoplay> <source src="horse.mp3" type="audio/mpeg"> </audio>
  • 24. Video Tag: The <video> tag is used to embed video content in a document, such as a movie clip or other video streams. There are three supported audio formats in HTML: MP4, WebM, and OGG. Attributes: • Controls : Specifies that video controls should be displayed (such as a play/pause button etc) • Autoplay : Specifies that the video will start playing as soon as it is ready • Src : Specifies the URL of the video file Eg: <audio height=“310” width=“200” controls > <source src="movie.mp4" type="video/mp4"> </audio>
  • 25. Iframe Tag: The <iframe> tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document. Attributes: • src : Specifies the address of the document to embed in the <iframe> • height : Specifies the height of an <iframe>. Default height is 150 pixels • width : Specifies the width of an <iframe>. Default width is 300 pixels. Eg: <iframe width="420" height="315" src="https://www.youtube.com/embed/tgbNymZ7vqY"> </iframe>
  • 26. 1. What does HTML stands for? A. Hypertext Machine language. B. Hypertext and links markup language. C. Hypertext Markup Language. D. Hightext machine language.
  • 27. 2. Which of the following HTML Elements is used for making any text bold ? A. <p> B. <i> C. <li> D. <b>
  • 28. 3.Which of the following HTML element is used for creating an unordered list? A. <ui> B. <i> C. <em> D. <ul>
  • 29. 4.What is the font-size of the h1 heading tag? A. 3.5 em B. 2.17 em C. 2 em D. 1.5 em
  • 30. 5.Which of the following are self closing Tags? A. <br>, <img>, <h1> B. <hr>, <pre>, <a> C. <input>, <ol>, <b> D. <img>, <br>, <hr>
  • 31. 6.Which of the following attributes is used to add link to any element? A. link B. ref C. href D. newref
  • 32. 7.Which of the following tags is used to make a portion of text italic in HTML? A. <italic> B. <i> C. <style= “i”> D. <style=“italic”>
  • 33. 8.Which of the following attributes is used to open an hyperlink in new tab? A. target B. tab C. href D. ref
  • 34. 9.Which among the following is correct HTML code for making a checkbox? A. <checkbox> B. <check> C. <input type=“check”> D. <input type=“checkbox>
  • 35. 10. Which of these elements are all <table> elements? A. <table> <tr> <td> B. <table> <head> <tfoot> C. <thead> <body> <tr> D. <table> <tr> <tt>
  • 36. THANK YOU TO BE CONTINUED…….