SlideShare a Scribd company logo
TML, also known as Hyper Text Markup Language, is the most commonly used markup
language to create webpages. A markup language provides a way to describe the structure
of text-based information on a Web page. Hypertext through similar to regular text, has one
additional advantage that is when you click the hypertext present on webpages, you are direct
to another web page on internet. The hypertext is called hyper because the navigation through
the pages using the hypertext is not linear. It means that if you click the hypertext present on
web page, you are directed to relevant page on the website or Internet ,which is not necessarily
the next page on the website.HTML allows you to format, arrange, and group text, display text
as links, and add images and multimedia to a Webpage.
HTML is written in the form of tags, which are by pair of angle bracket (< and >) and some text
placed between these brackets. The text present between the pair of angle brackets defines an
HTML element. Most of the HTML elements have two basic properties – attributes and
contests; therefore, they have an opening tags (< element-name>) and a closing tag (</
element-name>). However, some HTML elements, such as <br> and <hr> do not have any
contents; therefore, they do not need a closing tags, elements, and attributes are collectively
known as HTML markup.
The <!DOCTYPE> Elements:
The <!DOCTYPE> Elements is the first element in the HTML document, which specifies the
Document Type Definition (DTD) used by the document. A DTD is a separate file containing
formal definition of grammar, such as supported elements and elements used in markup
language. The browser check the code of document against the rule in the <!DOCTYPE>
declaration. The < !DOCTYPE> element does not have closing tags.
Working with Frames;
HTML provides the facility to divide the Internet Explorer (I.E) into many sections by using
frameset. A frameset in HTML is a way to display multiple Web pages in the same I.E, at the
same time. You can create vertical and horizontal frames as well as set frame border thickness
and color as per the requirement. In addition, you can apply hyperlink to a frame.
Creating an HTML Form:
An HTML form is web page that contains from elements. A basic from has 3 important parts;
the < form > tag, which include the URL of the script needed to process the form, the form
elements, which are similar to text fields; and the submit button, which sends the data on the
server. All the input elements should be enclosed within the opening < form > tags.
Attributes of the < form > tags
Attributes Values Description
Action URL Defines where to send the data when the submit button is checked
Method Get, Post Represent the HTTP method that sends data to the action URL. The
H
default values for the method attributes is get.
Using the HTML Controls
A user interacts with forms through controls that are the basic element of a Web page form. The HTML
controls help to make a Web page user friendly. A user can enter data in the Web page form with of the
HTML controls. There are plenty of controls available in HTML and the controls that provide input to the
form are created using the <input> tag and different value for the type attribute.
Using the <input> Tag to Add Controls
The primary tag is used in HTML to add controls the <input>tag that defines the start of an input field
where the user can enter the data. The <input> tag prompts the user to enter data on the Web server
lists a brief description of the attributes of the <input> tag:
Adding a Text Field to a From
The <input type=”text”> tag is used to add text field to a form. This type provides a box to enter text
that is transferred to the Web server.
Adding a Button
The button is a type attribute value of the <input >tag that is used to create a button on the HTML form.
To add a button on your Web page, add the <input type=”button”> tag in your HTML code.
Adding a Check Box
A check box is a small box with a check mark in it. And a user can either select or clear it by a click. To
add a check box to your Web page, add the <input type=”checkbox”> tag to your HTML code.
Adding a Radio Button
A radio button is displayed as a circle and displays a dot in the middle when selected. To add radio
button to your Web page, add the <input type=”radio”> tag to your HTML code.
NOTE
The difference between a check box and a radio button is that radio buttons work in mutually exclusive
groups and only one radio button can be selected at a time.
Adding a Submit Button
A submit button is the most important control in a form of because when you click this button, all the
data in the form sent to the Web server. When the user clicks the submit button, the data in the form is
transferred to the URL specified in the <form action> tag. To add a submit button to your web page, add
the <input type=”submit”> tag to your HTML code.
Attributes of Submit button
Attributes Description
Name Adds a name to the button.
Value Define the text to be written on the button.
Align Defines the alignment of the button.
Tab index Defines the tab order of the button, if there are
multiple buttons in your Web page.
Adding a Reset Button
A reset button helps the user to clear all the data that they have entered in the text fields and start all
over again. When the user clicks the user button, all the controls in the form are returned to their
original state and the values in form fields are cleared. To add a reset button to your Web page, and the
<input type=”reset button”>tag to your HTML code.
Adding a Text Area
A text area is a multi-line text input controls and displays text entered in it. A user writes unlimited
number of characters in the text area. You must set the numbers of rows and columns you want in the
text area using the rows and cols attributes.
Adding a Selection control
In HTML, you can add selection controls to your Web page. The selection control includes the <select>,
<option>, and <optgroup>tags. The <select> tag defines the control for the selection of options and
creates a drop-down list. You can use this tag in a form to accept a user input from a list of items. The
<option>tag defines an option in a drop-down list. It most important attribute is the <value> attribute
that determines the value being sent to the server.
The<optgroup> tag allows you to group your choices in the form. This tag helps you to group related
choices, when you have a long list of options to select from in the drop-down list created by using the
<select> tag.
Adding Multiple Selection Control
The selection control allows you to select only a single option from the list .However, you can also select
multiple options from the list at a time by using the same <select> tag. In this case, the<select>tag
includes the multiple attributes to specify that multiple options can be selected at a time. To select
multiple option from the list, your are required to hold down the CTRL key or the SHIFT key
Introducing cascading Style sheets
Cascading style sheets (CSS) or simply style sheets are text files that contain one or more with in the
form of property/value pairs to determine in a Web page should be displayed. They were developed
with the aim to create the structure, look and feel of a Web page but the elements present on the web
page are handled separately. In addition, CSS deals with all the style-related aspects important to create
a web page W3C has developed some specifications. The two versions of CSS specification have been
released till now: the first version is known as CSS1 and the second has CSS2. After the introduction of
CSS, HTML elements that purely deal with style related aspects, such as <u>, <center>, and <strike> have
been deprecated and W3C has recommended that in place of this HTML element, their replacements
should be use in CSS.
The syntax of CSS is slightly different from that HTML. In contrast to the angle brackets (<and>), equal
signs, and quotation marks found in the HTML syntax, the CSS syntax contains curly braces, colons, and
semicolons. The syntax of a CSS rule is as follows:
Selector {property1: property1-value; property2: property2-value; property3: property3-
value………………..}
In the preceding syntax, selector is the element that the rule defines, property1, property2, and
property3 are the properties (attributes) define for that element, and property1-value, property2-value,
and property3-value are values assigned to these properties. The portion of the syntax enclosed within
the curly braces is termed as declaration.
Using the preceding CSS rules syntax; we can create a CSS rule to set three background properties
(background-color, background-image, and background-repeat) for the <body> element, as follows:
Body {background-color: #0000ff; background-image: url (cimage1.jpg); Background-repeat: repeat-X}
Notice that the preceding CSS rule sets three backgrounds properties (background-color, background-
image, and background-repeat) for the <body> element in three declarations. You can, however set this
three properties in one declaration, using the short hand property named background. This shorthand
property which enables you to set two or more properties in one declaration has follows:
Body {background: 0000ff url (c:image1.jpg) repeat-x}
In the preceding CSS rule, you can note that shorthand property specifies two or more properties by
separating them with spaces.
You can create cascading styles in a web page in four ways:
 Using inline styles.
 Using external styles sheets.
 Using internal style sheets
 Using style classes
Inline styles
In the inline styles method, style for an HTML element is specified using it’s style attribute .Inline styles
are useful when you want to define specific styles for individual elements present on a web page.
External style sheets
An external style sheet is a separate document that contains only CSS rules and has .css extension.
External style sheets are used to apply uniform styles to all the web pages. For example, let’s assume
that you are creating a website that contains more than one web page and you want same look and feel
for same types of HTML elements in all the web pages. In such a situation, you can first create all the
required CSS rues in an external style sheets and then link it to all the web pages of the websites.
Web(chap2)

More Related Content

What's hot

HTML or Hypertext Markup Language
HTML or Hypertext Markup LanguageHTML or Hypertext Markup Language
HTML or Hypertext Markup Language
Prof Ansari
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
Nisa Soomro
 
2. HTML forms
2. HTML forms2. HTML forms
2. HTML forms
Pavle Đorđević
 
Html forms
Html formsHtml forms
Html forms
nobel mujuji
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
Taha Malampatti
 
Chapter7 web application
Chapter7 web applicationChapter7 web application
Chapter7 web application
KV(AFS) Utarlai, Barmer (Rajasthan)
 
Getting Started with your Website
Getting Started with your WebsiteGetting Started with your Website
Getting Started with your Website
Nicole Ryan
 
Forms in html5
Forms in html5Forms in html5
Forms in html5
hrisi87
 
Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio video
Saad Sheikh
 
Advanced html
Advanced htmlAdvanced html
Advanced html
Suneel Dogra
 
Structure Web Content
Structure Web ContentStructure Web Content
Structure Web Content
Nicole Ryan
 
Xhtml
XhtmlXhtml
Xhtml
CLI-IE
 
Html basics
Html basicsHtml basics
Html basics
codegracer
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questions
Vipul Naik
 
HTML frames and HTML forms
HTML frames and HTML formsHTML frames and HTML forms
HTML frames and HTML forms
Nadine Cruz
 
Practical file on web technology(html)
Practical file on web technology(html)Practical file on web technology(html)
Practical file on web technology(html)
RAJWANT KAUR
 
HTML
HTMLHTML
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Forms
tina1357
 
04. session 04 working withformsandframes
04. session 04   working withformsandframes04. session 04   working withformsandframes
04. session 04 working withformsandframes
Phúc Đỗ
 
Hyper Text Markup Language (HTML)
Hyper Text Markup Language (HTML)Hyper Text Markup Language (HTML)
Hyper Text Markup Language (HTML)
Avijeet Negel
 

What's hot (20)

HTML or Hypertext Markup Language
HTML or Hypertext Markup LanguageHTML or Hypertext Markup Language
HTML or Hypertext Markup Language
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 
2. HTML forms
2. HTML forms2. HTML forms
2. HTML forms
 
Html forms
Html formsHtml forms
Html forms
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Chapter7 web application
Chapter7 web applicationChapter7 web application
Chapter7 web application
 
Getting Started with your Website
Getting Started with your WebsiteGetting Started with your Website
Getting Started with your Website
 
Forms in html5
Forms in html5Forms in html5
Forms in html5
 
Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio video
 
Advanced html
Advanced htmlAdvanced html
Advanced html
 
Structure Web Content
Structure Web ContentStructure Web Content
Structure Web Content
 
Xhtml
XhtmlXhtml
Xhtml
 
Html basics
Html basicsHtml basics
Html basics
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questions
 
HTML frames and HTML forms
HTML frames and HTML formsHTML frames and HTML forms
HTML frames and HTML forms
 
Practical file on web technology(html)
Practical file on web technology(html)Practical file on web technology(html)
Practical file on web technology(html)
 
HTML
HTMLHTML
HTML
 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Forms
 
04. session 04 working withformsandframes
04. session 04   working withformsandframes04. session 04   working withformsandframes
04. session 04 working withformsandframes
 
Hyper Text Markup Language (HTML)
Hyper Text Markup Language (HTML)Hyper Text Markup Language (HTML)
Hyper Text Markup Language (HTML)
 

Similar to Web(chap2)

html tags
html tagshtml tags
html tags
Kunal gupta
 
Chapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfChapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdf
MhndHTaani
 
Unit 2
Unit 2 Unit 2
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
DineshKumar522328
 
Html starting
Html startingHtml starting
Html starting
Rahul Dihora
 
Html
HtmlHtml
CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
gunjansingh599205
 
Html
HtmlHtml
Html
HtmlHtml
Html
HtmlHtml
ppt.pptx
ppt.pptxppt.pptx
ppt.pptx
Anshkamra3
 
HTML
HTMLHTML
Presentation on HTML
Presentation on HTML Presentation on HTML
Presentation on HTML
tauqeer199
 
WEB MODULE 2.pdf
WEB MODULE 2.pdfWEB MODULE 2.pdf
WEB MODULE 2.pdf
Deepika A B
 
Unit 2
Unit 2 Unit 2
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
Manoj kumar Deswal
 
HTML CSS.pdf
HTML CSS.pdfHTML CSS.pdf
HTML CSS.pdf
ANKURAGARWAL252666
 
HTML
HTML HTML
Web forms and html lecture Number 4
Web forms and html lecture Number 4Web forms and html lecture Number 4
Web forms and html lecture Number 4
Mudasir Syed
 
HTML - part 1
HTML - part 1HTML - part 1
HTML - part 1
Fahad Masood
 

Similar to Web(chap2) (20)

html tags
html tagshtml tags
html tags
 
Chapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfChapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdf
 
Unit 2
Unit 2 Unit 2
Unit 2
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
 
Html starting
Html startingHtml starting
Html starting
 
Html
HtmlHtml
Html
 
CSS_Forms.pdf
CSS_Forms.pdfCSS_Forms.pdf
CSS_Forms.pdf
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
ppt.pptx
ppt.pptxppt.pptx
ppt.pptx
 
HTML
HTMLHTML
HTML
 
Presentation on HTML
Presentation on HTML Presentation on HTML
Presentation on HTML
 
WEB MODULE 2.pdf
WEB MODULE 2.pdfWEB MODULE 2.pdf
WEB MODULE 2.pdf
 
Unit 2
Unit 2 Unit 2
Unit 2
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
HTML CSS.pdf
HTML CSS.pdfHTML CSS.pdf
HTML CSS.pdf
 
HTML
HTML HTML
HTML
 
Web forms and html lecture Number 4
Web forms and html lecture Number 4Web forms and html lecture Number 4
Web forms and html lecture Number 4
 
HTML - part 1
HTML - part 1HTML - part 1
HTML - part 1
 

More from Jafar Nesargi

Network adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devicesNetwork adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devices
Jafar Nesargi
 
An introduction to networking
An introduction to networkingAn introduction to networking
An introduction to networking
Jafar Nesargi
 
Computer basics Intro
Computer basics IntroComputer basics Intro
Computer basics Intro
Jafar Nesargi
 
Css
CssCss
Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database language
Jafar Nesargi
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
Jafar Nesargi
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organization
Jafar Nesargi
 
Chapter3
Chapter3Chapter3
Chapter3
Jafar Nesargi
 
Introduction to-oracle
Introduction to-oracleIntroduction to-oracle
Introduction to-oracleJafar Nesargi
 
Chapter2
Chapter2Chapter2
Chapter2
Jafar Nesargi
 
Cascading style sheets
Cascading style sheetsCascading style sheets
Cascading style sheets
Jafar Nesargi
 
Session1 gateway to web page development
Session1   gateway to web page developmentSession1   gateway to web page development
Session1 gateway to web page development
Jafar Nesargi
 
Introduction to jsp
Introduction to jspIntroduction to jsp
Introduction to jsp
Jafar Nesargi
 
Chapter 3 servlet & jsp
Chapter 3 servlet & jspChapter 3 servlet & jsp
Chapter 3 servlet & jsp
Jafar Nesargi
 
Rmi
RmiRmi
Java bean
Java beanJava bean
Java bean
Jafar Nesargi
 
Networking
NetworkingNetworking
Networking
Jafar Nesargi
 
Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
Jafar Nesargi
 
Chapter 1 swings
Chapter 1 swingsChapter 1 swings
Chapter 1 swings
Jafar Nesargi
 
Record storage and primary file organization
Record storage and primary file organizationRecord storage and primary file organization
Record storage and primary file organization
Jafar Nesargi
 

More from Jafar Nesargi (20)

Network adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devicesNetwork adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devices
 
An introduction to networking
An introduction to networkingAn introduction to networking
An introduction to networking
 
Computer basics Intro
Computer basics IntroComputer basics Intro
Computer basics Intro
 
Css
CssCss
Css
 
Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database language
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organization
 
Chapter3
Chapter3Chapter3
Chapter3
 
Introduction to-oracle
Introduction to-oracleIntroduction to-oracle
Introduction to-oracle
 
Chapter2
Chapter2Chapter2
Chapter2
 
Cascading style sheets
Cascading style sheetsCascading style sheets
Cascading style sheets
 
Session1 gateway to web page development
Session1   gateway to web page developmentSession1   gateway to web page development
Session1 gateway to web page development
 
Introduction to jsp
Introduction to jspIntroduction to jsp
Introduction to jsp
 
Chapter 3 servlet & jsp
Chapter 3 servlet & jspChapter 3 servlet & jsp
Chapter 3 servlet & jsp
 
Rmi
RmiRmi
Rmi
 
Java bean
Java beanJava bean
Java bean
 
Networking
NetworkingNetworking
Networking
 
Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
 
Chapter 1 swings
Chapter 1 swingsChapter 1 swings
Chapter 1 swings
 
Record storage and primary file organization
Record storage and primary file organizationRecord storage and primary file organization
Record storage and primary file organization
 

Recently uploaded

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 

Recently uploaded (20)

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 

Web(chap2)

  • 1. TML, also known as Hyper Text Markup Language, is the most commonly used markup language to create webpages. A markup language provides a way to describe the structure of text-based information on a Web page. Hypertext through similar to regular text, has one additional advantage that is when you click the hypertext present on webpages, you are direct to another web page on internet. The hypertext is called hyper because the navigation through the pages using the hypertext is not linear. It means that if you click the hypertext present on web page, you are directed to relevant page on the website or Internet ,which is not necessarily the next page on the website.HTML allows you to format, arrange, and group text, display text as links, and add images and multimedia to a Webpage. HTML is written in the form of tags, which are by pair of angle bracket (< and >) and some text placed between these brackets. The text present between the pair of angle brackets defines an HTML element. Most of the HTML elements have two basic properties – attributes and contests; therefore, they have an opening tags (< element-name>) and a closing tag (</ element-name>). However, some HTML elements, such as <br> and <hr> do not have any contents; therefore, they do not need a closing tags, elements, and attributes are collectively known as HTML markup. The <!DOCTYPE> Elements: The <!DOCTYPE> Elements is the first element in the HTML document, which specifies the Document Type Definition (DTD) used by the document. A DTD is a separate file containing formal definition of grammar, such as supported elements and elements used in markup language. The browser check the code of document against the rule in the <!DOCTYPE> declaration. The < !DOCTYPE> element does not have closing tags. Working with Frames; HTML provides the facility to divide the Internet Explorer (I.E) into many sections by using frameset. A frameset in HTML is a way to display multiple Web pages in the same I.E, at the same time. You can create vertical and horizontal frames as well as set frame border thickness and color as per the requirement. In addition, you can apply hyperlink to a frame. Creating an HTML Form: An HTML form is web page that contains from elements. A basic from has 3 important parts; the < form > tag, which include the URL of the script needed to process the form, the form elements, which are similar to text fields; and the submit button, which sends the data on the server. All the input elements should be enclosed within the opening < form > tags. Attributes of the < form > tags Attributes Values Description Action URL Defines where to send the data when the submit button is checked Method Get, Post Represent the HTTP method that sends data to the action URL. The H
  • 2. default values for the method attributes is get. Using the HTML Controls A user interacts with forms through controls that are the basic element of a Web page form. The HTML controls help to make a Web page user friendly. A user can enter data in the Web page form with of the HTML controls. There are plenty of controls available in HTML and the controls that provide input to the form are created using the <input> tag and different value for the type attribute. Using the <input> Tag to Add Controls The primary tag is used in HTML to add controls the <input>tag that defines the start of an input field where the user can enter the data. The <input> tag prompts the user to enter data on the Web server lists a brief description of the attributes of the <input> tag: Adding a Text Field to a From The <input type=”text”> tag is used to add text field to a form. This type provides a box to enter text that is transferred to the Web server. Adding a Button The button is a type attribute value of the <input >tag that is used to create a button on the HTML form. To add a button on your Web page, add the <input type=”button”> tag in your HTML code. Adding a Check Box A check box is a small box with a check mark in it. And a user can either select or clear it by a click. To add a check box to your Web page, add the <input type=”checkbox”> tag to your HTML code. Adding a Radio Button A radio button is displayed as a circle and displays a dot in the middle when selected. To add radio button to your Web page, add the <input type=”radio”> tag to your HTML code. NOTE The difference between a check box and a radio button is that radio buttons work in mutually exclusive groups and only one radio button can be selected at a time. Adding a Submit Button A submit button is the most important control in a form of because when you click this button, all the data in the form sent to the Web server. When the user clicks the submit button, the data in the form is transferred to the URL specified in the <form action> tag. To add a submit button to your web page, add the <input type=”submit”> tag to your HTML code. Attributes of Submit button Attributes Description Name Adds a name to the button. Value Define the text to be written on the button.
  • 3. Align Defines the alignment of the button. Tab index Defines the tab order of the button, if there are multiple buttons in your Web page. Adding a Reset Button A reset button helps the user to clear all the data that they have entered in the text fields and start all over again. When the user clicks the user button, all the controls in the form are returned to their original state and the values in form fields are cleared. To add a reset button to your Web page, and the <input type=”reset button”>tag to your HTML code. Adding a Text Area A text area is a multi-line text input controls and displays text entered in it. A user writes unlimited number of characters in the text area. You must set the numbers of rows and columns you want in the text area using the rows and cols attributes. Adding a Selection control In HTML, you can add selection controls to your Web page. The selection control includes the <select>, <option>, and <optgroup>tags. The <select> tag defines the control for the selection of options and creates a drop-down list. You can use this tag in a form to accept a user input from a list of items. The <option>tag defines an option in a drop-down list. It most important attribute is the <value> attribute that determines the value being sent to the server. The<optgroup> tag allows you to group your choices in the form. This tag helps you to group related choices, when you have a long list of options to select from in the drop-down list created by using the <select> tag. Adding Multiple Selection Control The selection control allows you to select only a single option from the list .However, you can also select multiple options from the list at a time by using the same <select> tag. In this case, the<select>tag includes the multiple attributes to specify that multiple options can be selected at a time. To select multiple option from the list, your are required to hold down the CTRL key or the SHIFT key Introducing cascading Style sheets Cascading style sheets (CSS) or simply style sheets are text files that contain one or more with in the form of property/value pairs to determine in a Web page should be displayed. They were developed with the aim to create the structure, look and feel of a Web page but the elements present on the web page are handled separately. In addition, CSS deals with all the style-related aspects important to create a web page W3C has developed some specifications. The two versions of CSS specification have been released till now: the first version is known as CSS1 and the second has CSS2. After the introduction of CSS, HTML elements that purely deal with style related aspects, such as <u>, <center>, and <strike> have been deprecated and W3C has recommended that in place of this HTML element, their replacements should be use in CSS.
  • 4. The syntax of CSS is slightly different from that HTML. In contrast to the angle brackets (<and>), equal signs, and quotation marks found in the HTML syntax, the CSS syntax contains curly braces, colons, and semicolons. The syntax of a CSS rule is as follows: Selector {property1: property1-value; property2: property2-value; property3: property3- value………………..} In the preceding syntax, selector is the element that the rule defines, property1, property2, and property3 are the properties (attributes) define for that element, and property1-value, property2-value, and property3-value are values assigned to these properties. The portion of the syntax enclosed within the curly braces is termed as declaration. Using the preceding CSS rules syntax; we can create a CSS rule to set three background properties (background-color, background-image, and background-repeat) for the <body> element, as follows: Body {background-color: #0000ff; background-image: url (cimage1.jpg); Background-repeat: repeat-X} Notice that the preceding CSS rule sets three backgrounds properties (background-color, background- image, and background-repeat) for the <body> element in three declarations. You can, however set this three properties in one declaration, using the short hand property named background. This shorthand property which enables you to set two or more properties in one declaration has follows: Body {background: 0000ff url (c:image1.jpg) repeat-x} In the preceding CSS rule, you can note that shorthand property specifies two or more properties by separating them with spaces. You can create cascading styles in a web page in four ways:  Using inline styles.  Using external styles sheets.  Using internal style sheets  Using style classes Inline styles In the inline styles method, style for an HTML element is specified using it’s style attribute .Inline styles are useful when you want to define specific styles for individual elements present on a web page. External style sheets An external style sheet is a separate document that contains only CSS rules and has .css extension. External style sheets are used to apply uniform styles to all the web pages. For example, let’s assume that you are creating a website that contains more than one web page and you want same look and feel for same types of HTML elements in all the web pages. In such a situation, you can first create all the required CSS rues in an external style sheets and then link it to all the web pages of the websites.