Web Development Articles

Page 103 of 801

How to mark text superscript in HTML?

Paul Richard
Paul Richard
Updated on 16-Mar-2026 2K+ Views

The tag in HTML is used to mark text as superscript, which appears raised above the normal line of text and is typically rendered in a smaller font size. This element is commonly used for mathematical expressions, footnote references, ordinal numbers, and chemical formulas. Syntax Following is the syntax for the superscript tag − superscript text The tag requires both opening and closing tags. The text content placed between these tags will be displayed as superscript. Basic Superscript Example Following example demonstrates basic usage of the tag for mathematical ...

Read More

How to create an unordered list with disc bullets in HTML?

Lokesh Badavath
Lokesh Badavath
Updated on 16-Mar-2026 5K+ Views

An unordered list in HTML displays items without numerical ordering, using bullet points instead. The element creates the list container, while elements define individual list items. By default, unordered lists use disc bullets, but you can customize the bullet style using CSS. Syntax Following is the syntax to create an unordered list with disc bullets in HTML − Item in list Item in list Item in list Since disc is the default bullet style for unordered lists, you can also create ...

Read More

How to create an unordered list with square bullets in HTML?

Lokesh Badavath
Lokesh Badavath
Updated on 16-Mar-2026 10K+ Views

An unordered list in HTML displays items without numbering, using bullet markers instead. By default, unordered lists use circular bullets, but you can customize the bullet style using the list-style-type CSS property to create square bullets, circles, or remove bullets entirely. HTML provides four main bullet types for unordered lists − disc − Creates circular bullets (default style) circle − Creates hollow circular bullets square − Creates solid square bullets none − Removes all bullet markers HTML List Bullet Types ...

Read More

How to redirect URL to the different website after few seconds?

George John
George John
Updated on 16-Mar-2026 7K+ Views

Page redirection is a situation where you click a URL to reach page X but are automatically directed to another page Y. This happens due to page redirection configured by the website developer. To redirect a URL to a different website after a few seconds, use the META tag with the http-equiv="refresh" attribute and the content attribute. The content attribute sets the delay in seconds before the redirect occurs. Syntax Following is the syntax for URL redirection using the META tag − Where − seconds − The number of seconds ...

Read More

How do we specify that the audio/video will start playing as soon as it is ready in HTML?

Ankith Reddy
Ankith Reddy
Updated on 16-Mar-2026 388 Views

The autoplay attribute in HTML specifies that audio or video content should start playing automatically as soon as it is ready, without requiring user interaction. This attribute is a boolean attribute that can be applied to both and elements. Syntax Following is the syntax for the autoplay attribute − ... ... The autoplay attribute can also be written with an explicit value − ... Video Autoplay Example Following example demonstrates how to use the autoplay attribute with a video element − ...

Read More

How do we display the visible width of a text area in HTML?

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 246 Views

The cols attribute in HTML is used to specify the visible width of a element. It defines how many average character widths the textarea should display horizontally before text wraps to the next line. Syntax Following is the syntax for using the cols attribute − Content Here, number represents the visible width in characters. The default value is typically 20 characters if not specified. Using the cols Attribute The cols attribute accepts a positive integer value that determines the textarea's width. A higher value creates a wider textarea, while a lower ...

Read More

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

V Jyothi
V Jyothi
Updated on 16-Mar-2026 210 Views

The HTML tag specifies what browsers will show when they do not support the element. Ruby annotations are used in East Asian typography to provide pronunciation guides or semantic information for characters, commonly seen in Japanese furigana and Chinese pinyin. Syntax Following is the syntax for the tag − base_text fallback_openannotationfallback_close The (ruby parentheses) element contains fallback text that displays in browsers without ruby support. Modern browsers that support ruby annotations hide the content inside tags, while older browsers display it as regular text. ...

Read More

How to display deleted text in HTML?

Ankith Reddy
Ankith Reddy
Updated on 16-Mar-2026 463 Views

The tag in HTML is used to display deleted text by marking it with a strikethrough. This semantic element indicates that the content has been removed from the document but is kept visible to show revision history or changes made to the content. Syntax Following is the syntax for the tag − Deleted text Attributes The tag supports the following specific attributes − Attribute Value Description cite URL Specifies a URL to a document that explains why the text was deleted. ...

Read More

Execute a script when the seeking attribute is set to false indicating that seeking has ended in HTML?

Chandu yadav
Chandu yadav
Updated on 16-Mar-2026 215 Views

The onseeked attribute in HTML executes a script when the user finishes seeking (jumping to a new position) in an audio or video element. This event fires when the seeking attribute changes from true to false, indicating that the seek operation has completed and the media is ready to play from the new position. Syntax Following is the syntax for the onseeked attribute − Where script is the JavaScript code to execute when seeking ends. How It Works When a user interacts with the video or audio controls to jump ...

Read More

How do we define the start of a term in a definition list in HTML?

Nikitha N
Nikitha N
Updated on 16-Mar-2026 314 Views

The HTML tag is used to define the start of a term in a definition list. A definition list is similar to other lists but in a definition list, each list item contains two entries: a term and a description. The tag defines the term, while the tag provides its corresponding definition or description. Syntax Following is the syntax for the tag − Term Description of the term The element must be used within a (definition list) container and is ...

Read More
Showing 1021–1030 of 8,010 articles
« Prev 1 101 102 103 104 105 801 Next »
Advertisements