- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 2416 Articles for HTML
124 Views
Use the tag in HTML to specify citation. Cite can be defined as the title of a work. You can try to run the following code to implement tag for adding citation −Example HTML cite Tag The learning content can be referred from Data Structures & Algorithms in Java
369 Views
Use the onstalled attribute in HTML to execute a script when the browser is unable to fetch the media date.The onstalled attribute can be used for the following elements − The following is the syntax for −The following is the syntax for −ExampleYou can try to run the following code to implement onstalled attribute − Your browser does not support the video element. function display() { alert ("Sorry! Video isn't available right now!"); }
92 Views
When a element is shown as a context menu in HTML, the onshow event fires.ExampleYou can try to run the following code to execute a script when a element is displayed as a context menu − HTML menu Right click inside here.... function display() { alert("The context menu will be visible now."); }
172 Views
Use the tag to define a dialog box in HTML. The following are the attributes −AttributeValueDescriptionopenopenopens a dialog box and user can interact with itExampleYou can try to run the following code to learn how to work with tag − HTML dialog Tag Tutorialspoint We provide tutorials, quizzes, learning videos, etc. Tutorials are free for all
9K+ Views
Use the dir tag in HTML to display directory list. This is very similar to tag but do not use since it is deprecated now.The following is the attribute −AttributeValueDescriptionCompactcompactDeprecated − Specifies a compact rendering.ExampleYou can try to run the following code to show a directory list in HTML − HTML dir Tag The following are the values: car bike ship
289 Views
Use the tag to display the deleted text. The following are the attributes −AttributeValueDescriptionCiteURLDefines a URL to another document which explains why the text was deleted.DatetimeYYYYMMDD HH:MM:SSDefines the date and time the text was deleted.ExampleYou can try to run the following code to display deleted text − HTML del Tag The following text is deleted using HTML del tag
640 Views
To make graphics with a script, use the tag. The HTML tag is for drawing graphics, animations, etc using scripting.The following are the attributes of the tag −AttributeValueDescriptionheight pixelsSpecifies the height of the canvas.width pixelsSpecifies the width of the canvas.ExampleYou can try to run the following code to implement tag and create graphics − HTML Canvas Tag Your browser does not support canvas tag. var c = document.getElementById('newCanvas'); var ctx = c.getContext('2d'); ctx.fillStyle = '#00AEEF'; ctx.fillRect(0,0,180,50);
504 Views
Use the tag to indicate long quotations. The HTML tag is used to include long quotations (i.e. quotations that span multiple lines). It should contain only block-level elements within it and not just plain text.The following is the attribute −AttributeValueDescriptioncite URLURL of the quote, if it is taken from the web.ExampleYou can try to run the following code to implement tag in an HTML document − HTML blockquote Tag Browsers generally render blockquote text as indented text. If your quoted text needs to display ... Read More
2K+ Views
Use the tag in HTML to add a push button. The HTML tag is used for creating a button within HTML form. You can also use tag to create similar buttons.The following are the attributes of the tag −AttributeValueDescriptionautofocusAutofocusSpecifies that the button should have input focus when the page loads.disabledDisabledSpecifies the button is disabled.formform_idSpecifies the forms to which button belongs.formactionURLSpecifies the link where the form submits.formenctypeapplication multipart/form-data text/plainSpecifies how the form data is encoded before sending it to server.formmethodget postSpecifies how to send form data.formnovalidateFormnovalidateSpecifies that the form data should not be validated.formtarget_blank_self _parent _topSpecifies where the response should ... Read More