Most voted "html" questions
Use this tag when the question refers to some resource, information or problem related exclusively to the HTML language (Hypertext Markup Language). HTML is the main markup language used to structure web pages and format content. The latest revision of the HTML specification is HTML5.
Learn more…14,259 questions
Sort by count of
-
0
votes1
answer2291
viewsHow to open an HTML page in the browser with Vscode
I need to open a page in the browser with my HTML codes, using Vscode. However, when I do F1+tasks: Configure Tasks, it does not open tasks.json.
-
0
votes0
answers170
viewsBug when rendering in production Nextjs fonts
Talk people! I’m creating a static website with Nextjs and Styled-Components. Everything happens well in the development environment, but when putting into production imports of sources do not work.…
-
0
votes2
answers369
viewsAlignment of div within html
I have two Divs, when hidden the first need that the second ascend to her place, but she does not move, as I can do for her is in place of the first div, ie climb? Follows the code: <!DOCTYPE…
-
0
votes0
answers155
viewsHow do I use the value of a Javascript variable in a PHP variable to later use this value on other pages of the site?
I have a web page about animals and veterinarians that I need to capture from a list an animal identifier (cd_pet) from the database and use it on another page when clicked, using the PHP language…
-
0
votes1
answer126
viewsDelete line in html file
I have a file that shows the time and name that a user logged in to the site, this file is password protected, is there any way to put a [Delete] button to delete certain line ? I use the following…
-
0
votes2
answers53
viewsDoubt about logica php
Do you guys talk? I’m here to ask for help because I’m a little tied up, I’m making an example for the faculty of questions for covid, I’m looking for a way to take the questions that were marked in…
-
0
votes3
answers201
viewsNOTICE Notice: Undefined index
EAE BLZ? I’m studying about php and doing a college job, I’ve been having this error in vps windows I have, when running on my own pc it shows no error, already in vps keeps returning these errors…
-
0
votes1
answer113
viewshow to color 3 by 2 grid boxes in css
I have the following html code: <div class="wrapper"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div>…
-
0
votes0
answers217
viewsSolve textarea editing with jQuery
I am making an event registration, with PHP and jQuery, to register it all happens well, but when I change, it causes an error: Example: We all know that when we enter a page to edit, we have to…
-
0
votes0
answers186
viewsPrevent Vscode Live Server from going to the top of the page
I have a very annoying problem that happens sometimes on Vscode. I use the live server to see real-time HTML modifications, but every time I update the live server or give it a CTRL+S in CSS, it…
-
0
votes0
answers29
viewsDeleted CSS is still affecting the HTML file
I was creating a basic site in HTML, so I decided to tinker a little with CSS to organize where each thing of the site would be using the divs, so I created a separate file to work with CSS. At…
-
0
votes1
answer535
viewsFavicon . ico vs hosting
Is there any way ( Site ) for me to host a file .ico without being on the application’s ' server ' I mean do as we normally upload an image .jpg / .png on sites like Imgur ? In much of my research…
-
0
votes3
answers139
viewsSubtraction with decimal places in the result
I have a problem that I can not solve, Function calculate() subtracts the price by the total paid and shows in the amount, only when showing in quantiafalta, it shows so: Price: 62.000 Total Paid:…
-
0
votes3
answers379
viewsProblem with onkeyup input
I made a small Javascript function to make a dynamic search in the database without giving refresh and it’s working, but I think there’s a problem with onkeyup. When inserting text into field input…
-
0
votes2
answers310
viewsDynamically mount Timeline in html on page . aspx
I would like to ask a little help from the forum, to mount a dynamically html Timeline using the Asp.net font-end or code Behind C#, in a SQL-based Web Forms application. I need to assemble I…
-
0
votes1
answer2436
viewsField'valorClick' doesn’t have a default value
I have a problem, I add the news and I get the error "Field 'valorClick' doesn’t have a default value". This "Valorclick" is a value that clicking on the news link adds x money. Here is the code to…
-
0
votes1
answer44
viewsWhy is my div getting an extra 40px?
I am studying css3, I am creating crids within crids and there is something wrong, my ul that has with the class "side" is earning 40px extra, consequently the li son "grid1" is with space on the…
-
0
votes0
answers50
viewsSelecting elements of the DOM
I am trying to select a DOM element via js to perform an action by clicking. However, the program does not respond to the click. How should I proceed? follows the code! const modalOverlay =…
-
0
votes0
answers219
viewsHow to create one box inside the other using div
I have the following html code: .outer-box { width: 300px; height: 250px; margin: 50px auto; background-color: black; } .inner-box { width: 200px; height: 200px; margin: 0 auto; background-color:…
-
0
votes0
answers475
viewsAccent and HTML problems with Node.js
Guys, I’m creating a Microsoft Bot for Messenger, but I’m having problems with the emphasis on the texts and the html is being displayed in the reply. Code: switch (session.message.text) { case…
-
0
votes3
answers1798
viewsMake Bootstrap columns fill 100% of the Row width
I think it’s something simple, but since I’m a beginner in Bootstrap I haven’t figured out how to do it. What I want is for the columns to fill the full width of Row, I put a red border on the sides…
-
0
votes0
answers22
viewsHow can I make tables like this with html and css?
How to make tables like this in html ? I’m half Noob in front end tried with bootstrap and it didn’t look cool. https://i.stack.Imgur.com/cg18t.png…
-
0
votes1
answer395
viewsHow to get information in dynamic Jquery
I have the following code that calls all categories to a menu. They are created dynamically: function retornaCategorias (){ var container = $("#navmenu"); var container1 = $(".top-nav"); var…
-
0
votes1
answer44
viewsProblems in Vue Js Syntax
Guys, today I installed Vue.js to start my first project and I came across the following problem. After the installation I created the project and when I opened the app.See the vs code was reading…
-
0
votes1
answer1047
viewsResize image according to device size
I have an image that has by dimensions 360 x 640 pixels and should be used as background of a div. At first div will occupy the entire screen of the device. Situation Due to my application being…
-
0
votes2
answers954
viewsImages appears on localhost, but not only online server
Guys I’m with the site on localhost running right, but when I upo it pro server online some images do not appear, I already uped the images, already deleted the whole site and put again, is exactly…
-
0
votes2
answers326
viewsPHP indentation in HTML
Well, I wonder if there is a way to ident PHP along with HTML. For example, my code is like this: <h1>Como identar código PHP no HTML?</h1> <div> <?php echo "<p> <a…
-
0
votes1
answer33
viewsHow to select an element based on content
I have a table <table> <tr> <th>Link</th> <th>Descrição</th> </tr> <tr> <td>Fonts para web</td> <td><a…
-
0
votes0
answers390
viewsHow to align the HR tag in CSS?
I’m doing so, but I don’t know if it’s the best way. Is there a "align: left;" for hr? Or will I have to use HTML? #regua-1 { border: 2px solid navy; width: 20%; position: relative; left: -530px; }…
-
0
votes0
answers11
viewsHow can I place an image, like that, in the title bar ? (Using HTML)
How You Place That Logo or Image Next to the Word "Barbershop" ? (Using HTML)…
-
0
votes2
answers95
viewsPage does not recognize href=" "as if there was no href=" ", nothing happens - PHP
I’m finishing up a project, but I had a little problem. On the page there is a "button" where a document is downloaded. But when you hover over, or even click, nothing happens, it’s like any…
-
0
votes0
answers132
viewsHow to place a countdown with random numbers?
I’m trying to create a regressive product counter with javascript. Starting with a number I determine. Ex.: 357 After a few seconds. Ex.: 2s This value decreases randomly. Ex.: 159, 78, 25 I’m…
-
0
votes1
answer113
viewsSet a select html default field
I would like to know how to leave the first option of a combobox (in html) with the option "Select" And force the user to select at least 1 field in the checkbox. Example: <select…
-
0
votes1
answer478
viewsDiv with same image height in Bootstrap
I have an image to the left and another 4 blocks to the right. I needed the four blocks to follow the height of the image, even when changing the resolution. HTML: <div…
-
0
votes0
answers24
viewsMap with custom points, where when clicking on one of them, changes the page information
I need to create a page where there is a map (it can be the one from google maps), where I define some points. Clicking on one of these precise points changes the content of the page. Example: On…
-
0
votes1
answer88
viewsAdding several inputs with same id jquery or Avascript
então galera tenho seguinte codico function calcularFinal() { var contas = document.querySelectorAll("#produ"); var total = 0 ; for(var i= 0; i<contas.length; i++){ var conta =…
-
0
votes2
answers11985
viewsButton in the center of the screen
I found here the solution, in case someone needs position:absolute; top: 500px; left: 200px; Hello guys I started a new test here for an application, and I’m having trouble putting the button in the…
-
0
votes1
answer272
viewshow to make React render a table
I’m trying to make a table , 5 tall by 7 wide , inside the React , however, when I tried to run the 2° for loop he does not recognize and ends up not doing the action , obg by help S2 function…
-
0
votes1
answer42
viewsButton calling page
Where in my css code I add an on.click to call href to another page .meubotao { -moz-box-shadow: 0px 1px 0px 0px #000000; -webkit-box-shadow: 0px 1px 0px 0px #000000; box-shadow: 0px 1px 0px 0px…
-
0
votes2
answers48
viewsProblems with 'onsubmit' in 'setTimeout' form and function
When I invoke the 'validate' function nothing happens. What is my mistake? I also need to make the message 'validate' and 'like' functions disappear after 5s (I could not use setTimeout) function…
-
0
votes1
answer56
viewsUse the same datalist for multiple pages
I’m wanting to make a system where I would have a datalist with all my options and on every page of my site would be mirrored. Example: <input type="text" name="tCid" id="cCid"…
-
0
votes0
answers14
viewsHow to edit an anchor text using JS?
I’m using Wordpress, and by the way this can only be done by editing html with Javascript. Follow the code: <li class="nav-item"> <a class="nav-link active" href="#craftsman_gateway"…
-
0
votes1
answer37
views -
0
votes2
answers31
viewsError trying to access form fields
I am studying Javascript and assembling this project according to what I am learning and searching, I am registering a movie name in a table through a form, when I fill this form returns the…
-
0
votes0
answers32
viewsUsing Media Query with different images for different resolutions, which images will be requested?
When I use different images with media query, the user’s browser will use which option? Order all images from the site and use the appropriate one (making loading slower). Request only the specific…
-
0
votes2
answers4815
viewsShow and hide SELECT-based field
I developed a PHP code that queries a database table and inserts the values into one select in HTML. Once the user does not find the desired option within this select, he must select the option…
-
0
votes2
answers1618
viewsHow to take the value of a checkbox with javascript and move to another page?
I have 2 pages: 1º A page that has checkboxes and a form Ubmit button 2nd page showing which checkboxes were clicked The problem is that I do not know how to pass the value of the checkbox from one…
-
0
votes1
answer53
viewsUpload Images with PHP + Mysql
I am working on a project that requires the employee’s registration with his image on the form. So far so good, is performing normally the insert, both the data and the image. But when I try update,…
-
0
votes0
answers16
views -
0
votes1
answer134
viewsHow to prevent favicon error?
Every time I go up the local server the message from Error 404! Favicon.ico is not found How do I make this mistake without putting any image in html. Obs: I didn’t write that I was looking for…
htmlasked 3 years, 10 months ago Gustavo Alexandre 21