SlideShare a Scribd company logo
1 of 3
Download to read offline
The HTML element is used to draw graphics on a web page.
The graphic to the left is created with . It shows four elements: a red rectangle, a gradient
rectangle, a multicolor rectangle, and a multicolor text.
In HTML, JavaScript statements are "instructions" to be "executed" by the web browser.
This statement tells the browser to write "Hello Dolly." inside an HTML element with
id="demo":
Dropdown
Link 1Link 2Link 3
Use any element to open the dropdown menu, e.g. a , or
element.
Use a container element (like
) to create the dropdown menu and add the dropdown links inside it.
Wrap a
element around the button and the
to position the dropdown menu correctly with CSS.
house size color
clouds colorSendClick Button To Popup Form Using JavascriptPopup
The tag defines a clickable button.
Inside a element you can put content, like text or images. This is the difference between this
element and buttons created with the element.
Tip: Always specify the type attribute for a element. Different browsers use different default
types for the element.
// Validating Empty Fieldfunctioncheck_empty()
{
if(document.getElementById('name').value==""||document.getElementById('email').value==
""||document.getElementById('msg').value=="")
{
alert("Fill All Fields !");
}
else
{
document.getElementById('form').submit();alert("Form Submitted Successfully...");
}
}
//Function To Display Popupfunctiondiv_show()
{
document.getElementById('abc').style.display="block";
}
//Function to Hide Popupfunctiondiv_hide()
{
document.getElementById('abc').style.display="none";
}
Solution
The HTML element is used to draw graphics on a web page.
The graphic to the left is created with . It shows four elements: a red rectangle, a gradient
rectangle, a multicolor rectangle, and a multicolor text.
In HTML, JavaScript statements are "instructions" to be "executed" by the web browser.
This statement tells the browser to write "Hello Dolly." inside an HTML element with
id="demo":
Dropdown
Link 1Link 2Link 3
Use any element to open the dropdown menu, e.g. a , or
element.
Use a container element (like
) to create the dropdown menu and add the dropdown links inside it.
Wrap a
element around the button and the
to position the dropdown menu correctly with CSS.
house size color
clouds colorSendClick Button To Popup Form Using JavascriptPopup
The tag defines a clickable button.
Inside a element you can put content, like text or images. This is the difference between this
element and buttons created with the element.
Tip: Always specify the type attribute for a element. Different browsers use different default
types for the element.
// Validating Empty Fieldfunctioncheck_empty()
{
if(document.getElementById('name').value==""||document.getElementById('email').value==
""||document.getElementById('msg').value=="")
{
alert("Fill All Fields !");
}
else
{
document.getElementById('form').submit();alert("Form Submitted Successfully...");
}
}
//Function To Display Popupfunctiondiv_show()
{
document.getElementById('abc').style.display="block";
}
//Function to Hide Popupfunctiondiv_hide()
{
document.getElementById('abc').style.display="none";
}

More Related Content

Similar to The HTML canvas element is used to draw graphics on a web page.T.pdf

Documentation For Tab Setup
Documentation For Tab SetupDocumentation For Tab Setup
Documentation For Tab Setupvkeeton
 
Chapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfChapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfMhndHTaani
 
20-html-forms.ppt
20-html-forms.ppt20-html-forms.ppt
20-html-forms.pptKarenCato1
 
Cis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry universityCis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry universitylhkslkdh89009
 
Introduction to Silverlight
Introduction to SilverlightIntroduction to Silverlight
Introduction to SilverlightEd Donahue
 
Mengelola isi halaman web1 eng
Mengelola isi halaman web1 engMengelola isi halaman web1 eng
Mengelola isi halaman web1 engEko Supriyadi
 
Bootstrap Badges and Labels.pptx
Bootstrap Badges and Labels.pptxBootstrap Badges and Labels.pptx
Bootstrap Badges and Labels.pptxdivya935542
 
Introduction to Silverlight for Windows Phone
Introduction to Silverlight for Windows PhoneIntroduction to Silverlight for Windows Phone
Introduction to Silverlight for Windows PhoneDave Bost
 
Implement a Javascript application that allows the user to enter strin.docx
Implement a Javascript application that allows the user to enter strin.docxImplement a Javascript application that allows the user to enter strin.docx
Implement a Javascript application that allows the user to enter strin.docxmckerliejonelle
 
Rethink Frontend Development With Elm
Rethink Frontend Development With ElmRethink Frontend Development With Elm
Rethink Frontend Development With ElmBrian Hogan
 
PAL #1: Interface and basic drawing
PAL #1: Interface and basic drawingPAL #1: Interface and basic drawing
PAL #1: Interface and basic drawingjbellWCT
 
Chapter 07
Chapter 07Chapter 07
Chapter 07llmeade
 

Similar to The HTML canvas element is used to draw graphics on a web page.T.pdf (20)

home inspection demo
home inspection demohome inspection demo
home inspection demo
 
Documentation For Tab Setup
Documentation For Tab SetupDocumentation For Tab Setup
Documentation For Tab Setup
 
Chapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfChapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdf
 
Chapter09
Chapter09Chapter09
Chapter09
 
20-html-forms.ppt
20-html-forms.ppt20-html-forms.ppt
20-html-forms.ppt
 
Android interface elements and controls-chapter8
Android interface elements and controls-chapter8Android interface elements and controls-chapter8
Android interface elements and controls-chapter8
 
11-html-forms.ppt
11-html-forms.ppt11-html-forms.ppt
11-html-forms.ppt
 
Cis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry universityCis407 a ilab 2 web application development devry university
Cis407 a ilab 2 web application development devry university
 
Introduction to Silverlight
Introduction to SilverlightIntroduction to Silverlight
Introduction to Silverlight
 
Mca 504 dotnet_unit5
Mca 504 dotnet_unit5Mca 504 dotnet_unit5
Mca 504 dotnet_unit5
 
Fewd week8 slides
Fewd week8 slidesFewd week8 slides
Fewd week8 slides
 
Web accessibility
Web accessibilityWeb accessibility
Web accessibility
 
Mengelola isi halaman web1 eng
Mengelola isi halaman web1 engMengelola isi halaman web1 eng
Mengelola isi halaman web1 eng
 
Bootstrap Badges and Labels.pptx
Bootstrap Badges and Labels.pptxBootstrap Badges and Labels.pptx
Bootstrap Badges and Labels.pptx
 
Introduction to Silverlight for Windows Phone
Introduction to Silverlight for Windows PhoneIntroduction to Silverlight for Windows Phone
Introduction to Silverlight for Windows Phone
 
Implement a Javascript application that allows the user to enter strin.docx
Implement a Javascript application that allows the user to enter strin.docxImplement a Javascript application that allows the user to enter strin.docx
Implement a Javascript application that allows the user to enter strin.docx
 
Rethink Frontend Development With Elm
Rethink Frontend Development With ElmRethink Frontend Development With Elm
Rethink Frontend Development With Elm
 
HTML (1).pptx
HTML (1).pptxHTML (1).pptx
HTML (1).pptx
 
PAL #1: Interface and basic drawing
PAL #1: Interface and basic drawingPAL #1: Interface and basic drawing
PAL #1: Interface and basic drawing
 
Chapter 07
Chapter 07Chapter 07
Chapter 07
 

More from deepakangel

True Reason In more concentrated solution, hyd.pdf
                     True  Reason  In more concentrated solution, hyd.pdf                     True  Reason  In more concentrated solution, hyd.pdf
True Reason In more concentrated solution, hyd.pdfdeepakangel
 
Since the electrons from Zn gets transferred to F.pdf
                     Since the electrons from Zn gets transferred to F.pdf                     Since the electrons from Zn gets transferred to F.pdf
Since the electrons from Zn gets transferred to F.pdfdeepakangel
 
Lewis Acid Base Theory .pdf
                     Lewis Acid Base Theory                           .pdf                     Lewis Acid Base Theory                           .pdf
Lewis Acid Base Theory .pdfdeepakangel
 
Yes its is correctly solved. P1 (Frequency of population) is done wi.pdf
Yes its is correctly solved. P1 (Frequency of population) is done wi.pdfYes its is correctly solved. P1 (Frequency of population) is done wi.pdf
Yes its is correctly solved. P1 (Frequency of population) is done wi.pdfdeepakangel
 
You are not setting any values for those variables(name, ID, interes.pdf
You are not setting any values for those variables(name, ID, interes.pdfYou are not setting any values for those variables(name, ID, interes.pdf
You are not setting any values for those variables(name, ID, interes.pdfdeepakangel
 
Total H+ ion concentration in the solution = H+ of HCl + H+ of water.pdf
Total H+ ion concentration in the solution = H+ of HCl + H+ of water.pdfTotal H+ ion concentration in the solution = H+ of HCl + H+ of water.pdf
Total H+ ion concentration in the solution = H+ of HCl + H+ of water.pdfdeepakangel
 
The genomic library includes introns and promotors. However, in cDNA.pdf
The genomic library includes introns and promotors. However, in cDNA.pdfThe genomic library includes introns and promotors. However, in cDNA.pdf
The genomic library includes introns and promotors. However, in cDNA.pdfdeepakangel
 
Halfway titration Half of the base is neutralise.pdf
                     Halfway titration Half of the base is neutralise.pdf                     Halfway titration Half of the base is neutralise.pdf
Halfway titration Half of the base is neutralise.pdfdeepakangel
 
Fluorescein has a OH group and a COOH group. If a.pdf
                     Fluorescein has a OH group and a COOH group. If a.pdf                     Fluorescein has a OH group and a COOH group. If a.pdf
Fluorescein has a OH group and a COOH group. If a.pdfdeepakangel
 
Solution 3Capital = Total Assets – Current Liabilities          .pdf
Solution 3Capital = Total Assets – Current Liabilities          .pdfSolution 3Capital = Total Assets – Current Liabilities          .pdf
Solution 3Capital = Total Assets – Current Liabilities          .pdfdeepakangel
 
Q1ROMThe boot loader basically put Hex code into already there .pdf
Q1ROMThe boot loader basically put Hex code into already there .pdfQ1ROMThe boot loader basically put Hex code into already there .pdf
Q1ROMThe boot loader basically put Hex code into already there .pdfdeepakangel
 
Raising the temperature changes the solubility of a substance in wat.pdf
Raising the temperature changes the solubility of a substance in wat.pdfRaising the temperature changes the solubility of a substance in wat.pdf
Raising the temperature changes the solubility of a substance in wat.pdfdeepakangel
 
MAN pages.These pages describes commands functions and there prope.pdf
MAN pages.These pages describes commands functions and there prope.pdfMAN pages.These pages describes commands functions and there prope.pdf
MAN pages.These pages describes commands functions and there prope.pdfdeepakangel
 
If a person has inability to present antigens to Tc cells (cytotoxic.pdf
If a person has inability to present antigens to Tc cells (cytotoxic.pdfIf a person has inability to present antigens to Tc cells (cytotoxic.pdf
If a person has inability to present antigens to Tc cells (cytotoxic.pdfdeepakangel
 
i didnt get your question its unclear do you mean conjunctive .pdf
i didnt get your question its unclear do you mean conjunctive .pdfi didnt get your question its unclear do you mean conjunctive .pdf
i didnt get your question its unclear do you mean conjunctive .pdfdeepakangel
 
Here is the code with comments for the question. Sample output is al.pdf
Here is the code with comments for the question. Sample output is al.pdfHere is the code with comments for the question. Sample output is al.pdf
Here is the code with comments for the question. Sample output is al.pdfdeepakangel
 
Embedded systemIt is a computer system with a dedicated function .pdf
Embedded systemIt is a computer system with a dedicated function .pdfEmbedded systemIt is a computer system with a dedicated function .pdf
Embedded systemIt is a computer system with a dedicated function .pdfdeepakangel
 
Factors.javaimport java.io.; import java.util.Scanner; class .pdf
Factors.javaimport java.io.; import java.util.Scanner; class .pdfFactors.javaimport java.io.; import java.util.Scanner; class .pdf
Factors.javaimport java.io.; import java.util.Scanner; class .pdfdeepakangel
 
couldnt sloveSolutioncouldnt slove.pdf
couldnt sloveSolutioncouldnt slove.pdfcouldnt sloveSolutioncouldnt slove.pdf
couldnt sloveSolutioncouldnt slove.pdfdeepakangel
 

More from deepakangel (20)

True Reason In more concentrated solution, hyd.pdf
                     True  Reason  In more concentrated solution, hyd.pdf                     True  Reason  In more concentrated solution, hyd.pdf
True Reason In more concentrated solution, hyd.pdf
 
Since the electrons from Zn gets transferred to F.pdf
                     Since the electrons from Zn gets transferred to F.pdf                     Since the electrons from Zn gets transferred to F.pdf
Since the electrons from Zn gets transferred to F.pdf
 
Lewis Acid Base Theory .pdf
                     Lewis Acid Base Theory                           .pdf                     Lewis Acid Base Theory                           .pdf
Lewis Acid Base Theory .pdf
 
I3+ Solu.pdf
                     I3+                                      Solu.pdf                     I3+                                      Solu.pdf
I3+ Solu.pdf
 
Yes its is correctly solved. P1 (Frequency of population) is done wi.pdf
Yes its is correctly solved. P1 (Frequency of population) is done wi.pdfYes its is correctly solved. P1 (Frequency of population) is done wi.pdf
Yes its is correctly solved. P1 (Frequency of population) is done wi.pdf
 
You are not setting any values for those variables(name, ID, interes.pdf
You are not setting any values for those variables(name, ID, interes.pdfYou are not setting any values for those variables(name, ID, interes.pdf
You are not setting any values for those variables(name, ID, interes.pdf
 
Total H+ ion concentration in the solution = H+ of HCl + H+ of water.pdf
Total H+ ion concentration in the solution = H+ of HCl + H+ of water.pdfTotal H+ ion concentration in the solution = H+ of HCl + H+ of water.pdf
Total H+ ion concentration in the solution = H+ of HCl + H+ of water.pdf
 
The genomic library includes introns and promotors. However, in cDNA.pdf
The genomic library includes introns and promotors. However, in cDNA.pdfThe genomic library includes introns and promotors. However, in cDNA.pdf
The genomic library includes introns and promotors. However, in cDNA.pdf
 
Halfway titration Half of the base is neutralise.pdf
                     Halfway titration Half of the base is neutralise.pdf                     Halfway titration Half of the base is neutralise.pdf
Halfway titration Half of the base is neutralise.pdf
 
Fluorescein has a OH group and a COOH group. If a.pdf
                     Fluorescein has a OH group and a COOH group. If a.pdf                     Fluorescein has a OH group and a COOH group. If a.pdf
Fluorescein has a OH group and a COOH group. If a.pdf
 
Solution 3Capital = Total Assets – Current Liabilities          .pdf
Solution 3Capital = Total Assets – Current Liabilities          .pdfSolution 3Capital = Total Assets – Current Liabilities          .pdf
Solution 3Capital = Total Assets – Current Liabilities          .pdf
 
Q1ROMThe boot loader basically put Hex code into already there .pdf
Q1ROMThe boot loader basically put Hex code into already there .pdfQ1ROMThe boot loader basically put Hex code into already there .pdf
Q1ROMThe boot loader basically put Hex code into already there .pdf
 
Raising the temperature changes the solubility of a substance in wat.pdf
Raising the temperature changes the solubility of a substance in wat.pdfRaising the temperature changes the solubility of a substance in wat.pdf
Raising the temperature changes the solubility of a substance in wat.pdf
 
MAN pages.These pages describes commands functions and there prope.pdf
MAN pages.These pages describes commands functions and there prope.pdfMAN pages.These pages describes commands functions and there prope.pdf
MAN pages.These pages describes commands functions and there prope.pdf
 
If a person has inability to present antigens to Tc cells (cytotoxic.pdf
If a person has inability to present antigens to Tc cells (cytotoxic.pdfIf a person has inability to present antigens to Tc cells (cytotoxic.pdf
If a person has inability to present antigens to Tc cells (cytotoxic.pdf
 
i didnt get your question its unclear do you mean conjunctive .pdf
i didnt get your question its unclear do you mean conjunctive .pdfi didnt get your question its unclear do you mean conjunctive .pdf
i didnt get your question its unclear do you mean conjunctive .pdf
 
Here is the code with comments for the question. Sample output is al.pdf
Here is the code with comments for the question. Sample output is al.pdfHere is the code with comments for the question. Sample output is al.pdf
Here is the code with comments for the question. Sample output is al.pdf
 
Embedded systemIt is a computer system with a dedicated function .pdf
Embedded systemIt is a computer system with a dedicated function .pdfEmbedded systemIt is a computer system with a dedicated function .pdf
Embedded systemIt is a computer system with a dedicated function .pdf
 
Factors.javaimport java.io.; import java.util.Scanner; class .pdf
Factors.javaimport java.io.; import java.util.Scanner; class .pdfFactors.javaimport java.io.; import java.util.Scanner; class .pdf
Factors.javaimport java.io.; import java.util.Scanner; class .pdf
 
couldnt sloveSolutioncouldnt slove.pdf
couldnt sloveSolutioncouldnt slove.pdfcouldnt sloveSolutioncouldnt slove.pdf
couldnt sloveSolutioncouldnt slove.pdf
 

Recently uploaded

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

The HTML canvas element is used to draw graphics on a web page.T.pdf

  • 1. The HTML element is used to draw graphics on a web page. The graphic to the left is created with . It shows four elements: a red rectangle, a gradient rectangle, a multicolor rectangle, and a multicolor text. In HTML, JavaScript statements are "instructions" to be "executed" by the web browser. This statement tells the browser to write "Hello Dolly." inside an HTML element with id="demo": Dropdown Link 1Link 2Link 3 Use any element to open the dropdown menu, e.g. a , or element. Use a container element (like ) to create the dropdown menu and add the dropdown links inside it. Wrap a element around the button and the to position the dropdown menu correctly with CSS. house size color clouds colorSendClick Button To Popup Form Using JavascriptPopup The tag defines a clickable button. Inside a element you can put content, like text or images. This is the difference between this element and buttons created with the element. Tip: Always specify the type attribute for a element. Different browsers use different default types for the element. // Validating Empty Fieldfunctioncheck_empty() { if(document.getElementById('name').value==""||document.getElementById('email').value== ""||document.getElementById('msg').value=="") { alert("Fill All Fields !"); } else { document.getElementById('form').submit();alert("Form Submitted Successfully...");
  • 2. } } //Function To Display Popupfunctiondiv_show() { document.getElementById('abc').style.display="block"; } //Function to Hide Popupfunctiondiv_hide() { document.getElementById('abc').style.display="none"; } Solution The HTML element is used to draw graphics on a web page. The graphic to the left is created with . It shows four elements: a red rectangle, a gradient rectangle, a multicolor rectangle, and a multicolor text. In HTML, JavaScript statements are "instructions" to be "executed" by the web browser. This statement tells the browser to write "Hello Dolly." inside an HTML element with id="demo": Dropdown Link 1Link 2Link 3 Use any element to open the dropdown menu, e.g. a , or element. Use a container element (like ) to create the dropdown menu and add the dropdown links inside it. Wrap a element around the button and the to position the dropdown menu correctly with CSS. house size color clouds colorSendClick Button To Popup Form Using JavascriptPopup The tag defines a clickable button. Inside a element you can put content, like text or images. This is the difference between this element and buttons created with the element.
  • 3. Tip: Always specify the type attribute for a element. Different browsers use different default types for the element. // Validating Empty Fieldfunctioncheck_empty() { if(document.getElementById('name').value==""||document.getElementById('email').value== ""||document.getElementById('msg').value=="") { alert("Fill All Fields !"); } else { document.getElementById('form').submit();alert("Form Submitted Successfully..."); } } //Function To Display Popupfunctiondiv_show() { document.getElementById('abc').style.display="block"; } //Function to Hide Popupfunctiondiv_hide() { document.getElementById('abc').style.display="none"; }