Found 2202 Articles for HTML

How do we define a dialog box in HTML?

Daniol Thomas
Updated on 03-Mar-2020 12:39:33

248 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    

How to display a directory list in HTML?

Chandu yadav
Updated on 03-Mar-2020 06:38:02

11K+ 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          

How to display deleted text in HTML?

Ankith Reddy
Updated on 24-Jun-2020 08:49:13

399 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    

How to make graphics with a script in HTML?

Ramu Prasad
Updated on 24-Jun-2020 08:51:09

772 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);          

How to indicate long quotations in an HTML document?

Sravani S
Updated on 24-Jun-2020 08:40:01

693 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

How do we add a push button to HTML?

Arjun Thakur
Updated on 24-Jun-2020 08:44:50

3K+ 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

Enclose a text to make it blink with HTML.

Ramu Prasad
Updated on 03-Mar-2020 06:25:20

217 Views

Use the tag to blink a text. The HTML tag is used to enclose a text to make it blink.You can try to run the following code to implement tag − Note − Do not use this element as it is obsolete.Example           HTML blink Tag               This text will blink in Netscape Version 5.0    

How to display ruby annotation in HTML5?

Yaswanth Varma
Updated on 11-Oct-2023 16:53:09

614 Views

Annotations are external remarks that can be added to a Web document or to a specific section of a document. They can be comments, notes, explanations, or other types of remarks. Since they are external, any Web document can be independently annotated without needing to change the actual document. Let’s jump into the article to learn about the ruby annotation in HTML5. Ruby annotation in HTML5 The HTML element symbolizes brief comments that are displayed above, below, or next to the main text and are typically used to demonstrate how to pronounce East Asian characters. Other types of text can ... Read More

How to display text ruby annotation in HTML5?

Anvi Jain
Updated on 03-Mar-2020 06:23:49

288 Views

Use the tag to display text ruby annotation. The HTML5 tag is used for pronunciation of character in ruby annotations. These are for showing pronunciation of East Asian characters.ExampleYou can try to run the following code to display text ruby annotation −           HTML Rt Tag                        漢 (Kan)          字 (ji)          

How to set what browsers will show that do not support the ruby element?

V Jyothi
Updated on 03-Mar-2020 06:22:50

151 Views

The HTML tag specifies to show browsers that do not support the ruby annotations. Ruby Annotations are used in East Asian typography.ExampleYou can try to run the following code to implement tag in HTML −           HTML Rp Tag                        漢 (Kan)          字 (ji)          

Advertisements