Articles on Trending Technologies

Technical articles with clear explanations and examples

How to get the value associated with the http-equiv or name attribute in HTML?

Abhinanda Shri
Abhinanda Shri
Updated on 16-Mar-2026 207 Views

The content attribute in HTML is used to specify the value associated with the http-equiv or name attribute in meta tags. This attribute provides essential metadata information to browsers and search engines about your web page. Syntax Following is the syntax for using the content attribute with the name attribute − Following is the syntax for using the content attribute with the http-equiv attribute − Using Content with Name Attribute The name attribute specifies the type of metadata, while the content attribute provides the actual value. This ...

Read More

Phonegap + Windows Phone 8 : HTML5 viewport meta & scaling issue

karthikeya Boyini
karthikeya Boyini
Updated on 16-Mar-2026 173 Views

When developing PhoneGap applications for Windows Phone 8, you may encounter HTML5 viewport scaling issues where the content appears zoomed in or out, or doesn't fit properly on the device screen. This typically occurs when the viewport meta tag isn't properly configured or when Windows Phone's default zoom behavior conflicts with your app's layout. Common Causes The viewport scaling issue in PhoneGap Windows Phone 8 apps usually stems from − Missing or incorrect viewport meta tag configuration Windows Phone's default zoom behavior overriding your CSS Improper CSS styling that doesn't account for device-specific rendering ...

Read More

HTML DOM Input Email placeholder Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 198 Views

The HTML DOM Input Email placeholder property sets or returns a string that provides hints to users about what kind of input is expected in an email field. The placeholder text appears in the input field when it is empty and disappears when the user starts typing. Syntax Following is the syntax for returning the placeholder value − inputEmailObject.placeholder Following is the syntax for setting the placeholder value − inputEmailObject.placeholder = stringValue Parameters stringValue − A string that specifies the placeholder text to be displayed in the email ...

Read More

How to create an unordered list without bullets in HTML?

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

An unordered list in HTML displays a list of items marked with bullets (•), circles, discs, or squares by default. The tag creates an unordered list, and each list item is defined using the tag. However, sometimes you need to display a list without any bullets for cleaner presentation or custom styling. To remove bullets from an unordered list, you can use the CSS list-style-type property set to none. This property controls the appearance of list item markers and can be applied inline or through external CSS. Syntax Following is the syntax to create an ...

Read More

How to specify the URL of the resource to be used by the object in HTML?

Sreemaha
Sreemaha
Updated on 16-Mar-2026 208 Views

The data attribute in HTML is used to specify the URL of the resource to be used by the element. This attribute defines the location of external content such as images, videos, audio files, Flash files, PDFs, or other multimedia resources that should be embedded in the web page. Syntax Following is the syntax for the data attribute − Alternative content The data attribute accepts a valid URL pointing to the resource file. The URL can be relative (pointing to a file in the same domain) or absolute ...

Read More

HTML DOM Input Email readOnly Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 169 Views

The HTML DOM Input Email readOnly property sets or returns whether an email input field can be modified by the user. When set to true, the field becomes read-only and users cannot edit its content, though they can still select and copy the text. Syntax Following is the syntax for returning the readOnly property − inputEmailObject.readOnly Following is the syntax for setting the readOnly property − inputEmailObject.readOnly = booleanValue Parameters The booleanValue parameter accepts the following values − Value Description true ...

Read More

How to create space between list bullets and text in HTML?

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

We can create space between list bullets and text in HTML using the CSS padding-left property. This property adds whitespace on the left side of each list item, pushing the text away from the bullet point while keeping the bullet in its original position. HTML supports both ordered lists using the tag and unordered lists using the tag. Individual list items are defined with the tag. By applying padding-left to the elements, we can control the spacing between bullets and text content. Syntax Following is the syntax to create space between list bullets ...

Read More

Why formaction attribute is not working outside of tag?

Sharon Christine
Sharon Christine
Updated on 16-Mar-2026 857 Views

The formaction attribute can work outside the tag by using the form attribute to associate external buttons with a specific form. The formaction attribute specifies an alternate action URL for form submission, allowing multiple submit buttons to send data to different server endpoints. How Formaction Works When you submit a form, the browser follows this priority order − First − Check for formaction attribute on the submit button Second − Use the action attribute on the element Default − Submit to the current page if neither is specified Syntax Following is ...

Read More

How to use formenctype attribute in HTML?

karthikeya Boyini
karthikeya Boyini
Updated on 16-Mar-2026 288 Views

The formenctype attribute in HTML specifies how form data should be encoded when submitting to the server. This attribute was introduced in HTML5 and is only used with input elements of type submit and image. It overrides the form's default enctype attribute for that specific submit button. Syntax Following is the syntax for the formenctype attribute − The encoding-type specifies how the form data should be encoded before sending it to the server. Formenctype Attribute Values The formenctype attribute accepts three possible values − Value Description ...

Read More

How to store custom data private to the page or application in HTML?

Yaswanth Varma
Yaswanth Varma
Updated on 16-Mar-2026 622 Views

HTML data-* attributes allow you to store custom data directly within HTML elements. These attributes provide a standardized way to embed application-specific information that can be accessed via JavaScript and CSS without interfering with HTML semantics. The data-* attributes are part of the HTML5 specification and offer a clean alternative to using non-standard attributes or hidden form fields for storing custom data. Any attribute name beginning with data- followed by at least one character is considered a valid data attribute. Syntax Following is the syntax for data-* attributes in HTML − Content The ...

Read More
Showing 13531–13540 of 61,297 articles
Advertisements