Web Technology1
Web Technology1
HTML
CSS
JS
WEB TECHNOLOGY
WEB
INTERNET
CLIENT
BROWSER
SERVER
WEB PAGES
WEBSITES
WEB DEVELOPMENT
TERMINOLOGIES
WEB : The world wide web is also called as web and it is
interconnection of public websites which can be accessible
through internet
INTERNET : It is system of interconnected computer
networks that allows users to access and share the
information
CLIENT : User
BROWSER : It is a standalone application through which we
can access data with a help of internet
SERVER : It is a combination of software and hardware that
receives request and response to a request over a network
WEBPAGES : It is document that is accessible by browser
and it contains text,images,hyperlinks and these are also
called as building blocks of websites
WEBSITES : It is collection of related or interconnected
webpages
DIFFERENCE BETWEEN STATIC AND DYNAMIC
WEBSITES
browsers.
HTML is not case sensitive.
html 1.0
Html 2.0----1995
Html 3.2----1997
Html 4.02----1999
Html 5.0----2014
</body>
</html>
STRUCTURE OF HTML
<!DOCTYPE HTML>--Represents the version
of html
<html>--Root element of the html page
ELEMENTS
An HTML element is defined by a start tag, some
content, and an end tag.
Tags along with the content is known as element
width
These are starts from the same line means next to
each other
Ex:<span>,<b>,<i>,<u>
BASIC HTML TAGS
HTML Documents:
All HTML documents must start with a document type
declaration: <!DOCTYPE html>.
The HTML document itself begins with <html> and ends
with </html>.
The visible part of the HTML document is
between <body> and </body>.
HTML Headings:
HTML headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading. <h6> defines the
least important heading
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
BASIC HTML TAGS
HTML Paragraphs:
HTML paragraphs are defined with the <p> tag
HTML Links:
HTML links are defined with the <a> tag
ATTRIBUTES:
HTML attributes provide additional information
to HTML tags.
All HTML elements can have attributes
tag/opening tag
Attributes usually come in name/value pairs
like: name="value“.
Values of an attributes are case sensitive
Core Attributes:
Id
Title
Class
Style
CORE ATTRIBUTES
element.
HTML FORMATTING
TAGS
Formatting elements were designed to display
special types of text:
<b> - Bold text
Attributes
Type : square,circle,none
Ordered HTML List:
An ordered list starts with the <ol> tag. Each list item starts with
Attributes:
Type : numbers,alphabets(lower,upper),roman(lower,upper)
Start: number
reverse
HTML Description Lists:
A description list is a list of terms, with a description of each term.
The <dl> tag defines the description list, the <dt> tag defines the term
Attributes
src : It is an attribute of img tag, Inside this we
will pass the path of the image.
alt: It is used give the alternative name for the
image
When the image is not displaying on webpage
browsers:
• An unvisited link is underlined and blue
Text as a Link
To use an text as a link, just write the text
Image as a Link
To use an image as a link, just put
Button as a Link
To use an button as a link, just put
linked document.
The target attribute can have one of the following
values:
• _self - Default. Opens the document in the same
window/tab as it was clicked
• _blank - Opens the document in a new window or
tab
• _parent - Opens the document in the parent frame
(<td>)
Rowspan : It is used to merge multiple rows.
(<td>)
HTML FORMS
The <form> Element
The HTML <form> element is used to create an HTML form for
user input
The <form> element is a container for different types of input
of many choices)
<input type="checkbox">Displays checkbox(for selecting
Tag Description
<form> Defines an HTML form for user input
<input> Defines an input control
<textarea> Defines a multiline input control (text area)
<label> Defines a label for an <input> element
<fieldset> Groups related elements in a form
<legend> Defines a caption for a <fieldset> element
<select> Defines a drop-down list
<optgroup Defines a group of related options in a drop-down
> list
<option> Defines an option in a drop-down list
<button> Defines a clickable button
ATTRIBUTES
<form>
Action : It defines action to be performed when
the form is submitted.
Method : It specifies the http method to be used
when submitting the form data.(get-Not secured
and post-Secured)
<label>
for: It is used to connect label and input text field.
<input>
Id : It is used to connect label and input text field
and the value passed in the id attribute should be
same as the value passed in the for attribute.
Name : The value of name attributes acts like
container, The form values with name attribute
will sent to a server when submitting the form.
Type : It represents the type of data
FORM VALIDATION
ATTRIBUTES
1) Value : The input value attribute specifies an
initial value for an input field
2) Read only : The input read only attribute
specifies that an input field is read-only.
3) Disabled: The input disabled attribute
specifies that an input field should be disabled.
A disabled input field is unusable and un-
clickable.
4) Size: The input size attribute specifies the
visible width, in characters, of an input field.
The default value for size is 20.
Audio:
<audio> tag is used to embed the audio into our web page.
The content which is written in side <audio></audio> will
not displayed on the webpage
Attributes of audio tag:
Src : we will pass path of audio.
Controls : The controls attribute adds audio controls, like play, pause,
and volume .
Muted : It will mute the audio when you open your file with
browser
Autoplay: It will play the audio automatically when you open
your file with browser.
Loop : The audio will start over again , every time it is
finished.
MEDIA TAGS
Video :
<video> tag is used to embed the video into our
web page.
The content which is written in side
<video></video> will not displayed on the webpage
Attributes of audio tag:
Src : we will pass path of video.
Controls : The controls attribute adds video controls, like
play, pause, and volume .
Muted : It will mute the video when you open your
file with browser
Autoplay: It will play the video automatically
when you open your file with browser.
Loop : The video will start over again , every time
it is finished.
iframe:
<iframe> tag is used to embedded the
another document within the current HTML
document.
An HTML iframe is used to display a web
page within a web page.
The HTML <iframe> tag specifies an inline
frame.
Height and width attributes are used to
specify the height and width of th iframe
Title attribute is used to give the title for
the iframe