SlideShare a Scribd company logo
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…….

More Related Content

What's hot

왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법
GeunCheolYeom
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in Docker
Docker, Inc.
 
FIWARE Identity Management and Access Control
FIWARE Identity Management and Access ControlFIWARE Identity Management and Access Control
FIWARE Identity Management and Access Control
FIWARE
 
I hunt sys admins 2.0
I hunt sys admins 2.0I hunt sys admins 2.0
I hunt sys admins 2.0
Will Schroeder
 
Simple callcenter platform with PHP
Simple callcenter platform with PHPSimple callcenter platform with PHP
Simple callcenter platform with PHP
Morten Amundsen
 
Offzone | Another waf bypass
Offzone | Another waf bypassOffzone | Another waf bypass
Offzone | Another waf bypass
Дмитрий Бумов
 
Jenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXJenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSX
Gagan Vishal Mishra
 
DCSF 19 Deploying Rootless buildkit on Kubernetes
DCSF 19 Deploying Rootless buildkit on KubernetesDCSF 19 Deploying Rootless buildkit on Kubernetes
DCSF 19 Deploying Rootless buildkit on Kubernetes
Docker, Inc.
 
Docker by Example - Basics
Docker by Example - Basics Docker by Example - Basics
Docker by Example - Basics
CodeOps Technologies LLP
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
Walid Ashraf
 
A story of the passive aggressive sysadmin of AEM
A story of the passive aggressive sysadmin of AEMA story of the passive aggressive sysadmin of AEM
A story of the passive aggressive sysadmin of AEM
Frans Rosén
 
Debugging the Web with Fiddler
Debugging the Web with FiddlerDebugging the Web with Fiddler
Debugging the Web with Fiddler
Ido Flatow
 
HTTP/2 Introduction
HTTP/2 IntroductionHTTP/2 Introduction
HTTP/2 Introduction
Walter Liu
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
ejlp12
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
Luong Vo
 
A Forgotten HTTP Invisibility Cloak
A Forgotten HTTP Invisibility CloakA Forgotten HTTP Invisibility Cloak
A Forgotten HTTP Invisibility Cloak
Soroush Dalili
 
Windows PowerShell
Windows PowerShellWindows PowerShell
Windows PowerShell
Sandun Perera
 
Installation configuration OpenERP 7 - Windows
Installation   configuration OpenERP 7 - WindowsInstallation   configuration OpenERP 7 - Windows
Installation configuration OpenERP 7 - Windows
Sanae BEKKAR
 
[OPD 2019] Attacking JWT tokens
[OPD 2019] Attacking JWT tokens[OPD 2019] Attacking JWT tokens
[OPD 2019] Attacking JWT tokens
OWASP
 
Powershell training material
Powershell training materialPowershell training material
Powershell training material
Dr. Awase Khirni Syed
 

What's hot (20)

왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법왕초보를 위한 도커 사용법
왕초보를 위한 도커 사용법
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in Docker
 
FIWARE Identity Management and Access Control
FIWARE Identity Management and Access ControlFIWARE Identity Management and Access Control
FIWARE Identity Management and Access Control
 
I hunt sys admins 2.0
I hunt sys admins 2.0I hunt sys admins 2.0
I hunt sys admins 2.0
 
Simple callcenter platform with PHP
Simple callcenter platform with PHPSimple callcenter platform with PHP
Simple callcenter platform with PHP
 
Offzone | Another waf bypass
Offzone | Another waf bypassOffzone | Another waf bypass
Offzone | Another waf bypass
 
Jenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXJenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSX
 
DCSF 19 Deploying Rootless buildkit on Kubernetes
DCSF 19 Deploying Rootless buildkit on KubernetesDCSF 19 Deploying Rootless buildkit on Kubernetes
DCSF 19 Deploying Rootless buildkit on Kubernetes
 
Docker by Example - Basics
Docker by Example - Basics Docker by Example - Basics
Docker by Example - Basics
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
A story of the passive aggressive sysadmin of AEM
A story of the passive aggressive sysadmin of AEMA story of the passive aggressive sysadmin of AEM
A story of the passive aggressive sysadmin of AEM
 
Debugging the Web with Fiddler
Debugging the Web with FiddlerDebugging the Web with Fiddler
Debugging the Web with Fiddler
 
HTTP/2 Introduction
HTTP/2 IntroductionHTTP/2 Introduction
HTTP/2 Introduction
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
A Forgotten HTTP Invisibility Cloak
A Forgotten HTTP Invisibility CloakA Forgotten HTTP Invisibility Cloak
A Forgotten HTTP Invisibility Cloak
 
Windows PowerShell
Windows PowerShellWindows PowerShell
Windows PowerShell
 
Installation configuration OpenERP 7 - Windows
Installation   configuration OpenERP 7 - WindowsInstallation   configuration OpenERP 7 - Windows
Installation configuration OpenERP 7 - Windows
 
[OPD 2019] Attacking JWT tokens
[OPD 2019] Attacking JWT tokens[OPD 2019] Attacking JWT tokens
[OPD 2019] Attacking JWT tokens
 
Powershell training material
Powershell training materialPowershell training material
Powershell training material
 

Similar to 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 .pptx
wewit44414
 
Html5 tags
Html5 tagsHtml5 tags
Html5 tags
Tahira Sadaf
 
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
ZahouAmel1
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
Altaf Pinjari
 
Html part 2
Html part 2Html part 2
Html part 2
lokenra
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
MattMarino13
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
malrad1
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
Dhairya Joshi
 
HTML (part ii).pptx
HTML (part ii).pptxHTML (part ii).pptx
HTML (part ii).pptx
techsupport70
 
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
jayarao21
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
Amit Mali
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
SanthoshReddy841587
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
Sri Latha
 
summary html.ppt
summary html.pptsummary html.ppt
summary html.ppt
ramansingh911318
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
SameerPrajapati18
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
VincentAcapen
 
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 programming and dhtml
introdution-to-html programming and dhtmlintrodution-to-html programming and dhtml
introdution-to-html programming and dhtml
santhosh sriprada
 
introdution-to-html (1).ppt 12345678909765432
introdution-to-html (1).ppt 12345678909765432introdution-to-html (1).ppt 12345678909765432
introdution-to-html (1).ppt 12345678909765432
RudraRathore6
 
introdution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc studentsintrodution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc students
MaheshMutnale1
 

Similar to 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
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction 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 programming and dhtml
introdution-to-html programming and dhtmlintrodution-to-html programming and dhtml
introdution-to-html programming and dhtml
 
introdution-to-html (1).ppt 12345678909765432
introdution-to-html (1).ppt 12345678909765432introdution-to-html (1).ppt 12345678909765432
introdution-to-html (1).ppt 12345678909765432
 
introdution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc studentsintrodution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc students
 

Recently uploaded

Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 

Recently uploaded (20)

Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 

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…….