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,910 points
60,367 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
1,126 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
5,881 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
1,112 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
6,243 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
652 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
2,636 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
387 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
1,517 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,017 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
378 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
2,528 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
315 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
280 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
869 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
356 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
634 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
288 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
2,586 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
774 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
393 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
358 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,670 points
925 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,880 points
13,261 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,880 points
5,478 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
535 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,880 points
562 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,880 points
1,814 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,520 points
1,218 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,880 points
4,244 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,880 points
1,347 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,008 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
347 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
392 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
474 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
596 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
209 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
363 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
302 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
210 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,096 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
5,386 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
427 views
0 votes
0 answers

Laravel 5 Class 'Collective\Html\HtmlServiceProvider' not found on AWS

I'm aware that there are several other ...READ MORE

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

HTML radio buttons allowing multiple selections

In my HTML form, I have the ...READ MORE

Aug 16, 2022 in HTML by Deepak
• 980 points
2,092 views
0 votes
0 answers

Php / Html - How can I draw a graph of an array?

I discovered an array's mean, mode, median, ...READ MORE

Aug 16, 2022 in HTML by Deepak
• 980 points
582 views
0 votes
0 answers

Should I use <i> tag for icons instead of <span>?

To display icons, both Facebook's HTML and ...READ MORE

Aug 16, 2022 in HTML by Deepak
• 980 points
435 views
0 votes
0 answers

Making HTML page zoom by default

I designed a page where buttons look ...READ MORE

Aug 16, 2022 in HTML by Deepak
• 980 points
352 views
0 votes
0 answers

What is the difference between properties and attributes in HTML?

I've been trying to define the difference ...READ MORE

Aug 12, 2022 in HTML by Tejashwini
• 3,820 points
1,161 views