Most answered questions in HTML

0 votes
3 answers

HTML - Change\Update page contents without refreshing\reloading the page?

pushState() # The pushState() method let's you update the URL and create ...READ MORE

Dec 15, 2020 in HTML by Gitika
• 65,730 points
62,373 views
0 votes
2 answers

Render HTML in React Native

React Native does not provide any specific ...READ MORE

Apr 1, 2023 in HTML by DSKView
• 180 points
2,193 views
0 votes
2 answers

How to play video in react.js using html video tag?

This is a solution: import Video from "..Videos/video1.mp4" class ...READ MORE

May 21, 2023 in HTML by Renie
7,955 views
0 votes
1 answer

How to build a directive that conditionally adds elements to the DOM based on API responses?

Structural Directive with API Condition 1. Create the ...READ MORE

Apr 10 in HTML by anonymous
252 views
0 votes
1 answer

How to create a table with zebra-striped rows using inline styles in HTML?

To create a zebra-striped table using inline ...READ MORE

Mar 24 in HTML by anonymous
281 views
0 votes
1 answer

How to create a hidden input field in a form in HTML?

You can use the type attribute with ...READ MORE

Mar 24 in HTML by anonymous
253 views
0 votes
1 answer

What if both the step attribute and stepUp(step) method are defined in HTML?

If both the step attribute and stepUp(step) ...READ MORE

Mar 11 in HTML by Tanmay
247 views
0 votes
1 answer

Why Is the Style Property Not Working in a Nested Paragraph Element?

CSS Specificity: If there's a more specific ...READ MORE

Dec 31, 2024 in HTML by Navya
319 views
0 votes
1 answer

How to limit the number of digits in an input HTML?

For text-based inputs such as <input type="text"> ...READ MORE

Dec 17, 2024 in HTML by Navya
325 views
0 votes
1 answer

How to convert HTML to JSX (React.js)

You can use https://magic.reactjs.net/htmltojsx.htm which is an online HTML ...READ MORE

Aug 10, 2022 in HTML by Deepak
• 980 points
2,165 views
0 votes
1 answer

how to use json file in html code?

<html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"> </script> <script> ...READ MORE

Aug 8, 2022 in HTML by Vikas
8,037 views
0 votes
1 answer

Best Practice: Access form elements by HTML id or name attribute?

It is a good idea to use ...READ MORE

Aug 8, 2022 in HTML by Vikas
1,560 views
0 votes
1 answer

Is there a way to make HTML5 video fullscreen?

Although the Fullscreen API defines an API ...READ MORE

Aug 8, 2022 in HTML by Vikas
3,810 views
0 votes
1 answer

how to use font awesome icons in HTML?

You must first write this down in the ...READ MORE

Aug 8, 2022 in HTML by Vikas
1,090 views
0 votes
1 answer

how to use font awesome icons in HTML

First, you have to write this in ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
2,119 views
0 votes
1 answer

Full-screen responsive background image

img.bg { /* Set rules to ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,704 views
0 votes
1 answer

.htm or .html extension - which one is correct and what is different?

The majority of the time, the number ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,034 views
0 votes
1 answer

How to perform a real time search and filter on a HTML table

Here is the best solution for searching ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
3,469 views
0 votes
1 answer

Linking to a specific part of a web page

Make a "jump link" with the following ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
761 views
0 votes
1 answer

Linking to a specific part of a web page

This is only possible if the website ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
871 views
0 votes
1 answer

How to word wrap text in HTML?

Try this: div { width: ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,704 views
0 votes
1 answer

How to set a border for an HTML div tag?

 you can use border-width:2px; border-style:solid; border-color:black; or as shorthand border: 2px solid ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,139 views
0 votes
1 answer

html Modal popup

Try this example: var modal = document.getElementById('modal'); var shade ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,070 views
0 votes
1 answer

trying to align html button at the center of the my page

For example: HTML <div> <button>Submit</button> </div> CSS button { margin:auto; ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
782 views
0 votes
1 answer

How to trigger a file download when clicking an HTML button or JavaScript?

For the button you can do <form method="get" ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
3,539 views
0 votes
1 answer

Uses for the '&quot;' entity in HTML

It is impossible and unnecessary to know ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,792 views
0 votes
1 answer

Refresh a page using JavaScript or HTML

window.location.reload(); in JavaScript <meta http-equiv="refresh" content="1"> in HTML ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
935 views
0 votes
1 answer

How to add/update an attribute to an HTML element using JavaScript?

You can read here about the behaviour of attributes ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,345 views
0 votes
1 answer

How do I give text or an image a transparent background using CSS?

In order to ensure that your image ...READ MORE

Feb 8, 2022 in HTML by Rahul
• 9,690 points
1,511 views
0 votes
1 answer

Uncaught ReferenceError: rbi is not defined at HTMLInputElement.onclick

Hello, Just exclude the line rbi() and try ...READ MORE

Nov 2, 2020 in HTML by Niroj
• 82,800 points
14,473 views
0 votes
1 answer

unable to load image file using <img> tag

This error means that file was not ...READ MORE

Oct 7, 2020 in HTML by Niroj
• 82,800 points
6,574 views
0 votes
1 answer

I've a query for <form>tag

That might be because button inside form ...READ MORE

Nov 2, 2020 in HTML by sindhu
1,071 views
0 votes
1 answer

How to align a <div> to the middle (horizontally/width) of the page?

Hello Kartik, position: absolute and then top:50% and left:50% places the top edge ...READ MORE

Apr 23, 2020 in HTML by Niroj
• 82,800 points
1,109 views
0 votes
1 answer

Why don't self-closing script elements work?

Hello @kartik, That's because SCRIPT TAG is not ...READ MORE

Apr 23, 2020 in HTML by Niroj
• 82,800 points
2,464 views
0 votes
1 answer

How to Identify Web Element( Button) when there are multiple buttons without any ID

Hi Gangadhar, Do you need the HTML code to ...READ MORE

Feb 10, 2020 in HTML by Roshni
• 10,440 points
1,903 views
+1 vote
1 answer

How can i create simple register form using html and css?

Html5 contains lots of elements using which ...READ MORE

Jan 31, 2020 in HTML by Niroj
• 82,800 points
5,393 views
0 votes
1 answer

What is Html Web storage

With web storage, web applications can store ...READ MORE

Jan 31, 2020 in HTML by Niroj
• 82,800 points
2,014 views
0 votes
0 answers

Html table tr inside td

I am trying to create a table ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
1,880 views
0 votes
0 answers

Html: Difference between cell spacing and cell padding

What is the difference between cell spacing ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
997 views
0 votes
0 answers

Which characters need to be escaped in HTML?

Are they the same as XML, perhaps ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
993 views
0 votes
0 answers

What is the correct way to declare an HTML5 Doctype.?

What is the correct way to use ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
1,054 views
0 votes
0 answers

Input type DateTime - Value format?

In which format should I put the ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
1,110 views
0 votes
0 answers

How to set the size of button in HTML?

On my HTML/JS page, I have a ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
624 views
0 votes
0 answers

horizontal line and right way to code it in html, css

I need to draw a horizontal line ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
804 views
0 votes
0 answers

What is the difference between HTML tags and elements?

I've noticed that most people interchangeably refer ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
714 views
0 votes
0 answers

Adding more than one class html

Is it possible to add more than ...READ MORE

Aug 19, 2022 in HTML by Shalini
• 120 points
547 views
0 votes
0 answers

Remove all html tags from php string

I want to display the first 110 ...READ MORE

Aug 17, 2022 in HTML by Deepak
• 980 points
1,548 views
0 votes
0 answers
0 votes
0 answers

Left-, center-, and right-aligned text on the same line

Is it possible to use HTML/CSS to ...READ MORE

Aug 17, 2022 in HTML by Deepak
• 980 points
6,744 views
0 votes
0 answers

How to style the option of an html "select" element?

Here's my HTML: <select id="ddlProducts" name="ddProducts"> ...READ MORE

Aug 17, 2022 in HTML by Deepak
• 980 points
1,063 views