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
-
1
votes1
answer55
viewsHow to make the button occupy all the height and width of its parent element?
Hello. I have a table that is dynamically populated with data coming from the Mysql database. For this I use AJAX and PHP. I have the following question: How do I make a button (which is actually…
-
1
votes1
answer37
viewsHow to make Row track Divs height with d-block
I have the following structure of a mosaic .row > div {border:10px solid white} .B {background:blue; height:700px} .G {background:green; height:350px} <link…
-
1
votes1
answer939
viewsAdd and save button function of an HTML Table
Guys good afternoon, I am developing my TCC, I need to create a page called donations, on this page the user can donate more than one item, I managed to create an Add button where he inserts lines…
-
1
votes1
answer825
viewsJquery onkeypress ENTER
I have a table that when you double-click on one of its fields it becomes an input and this input, when I press enter, becomes a table field again, but sometimes it doesn’t work right away, I have…
-
1
votes1
answer66
viewsWhy doesn’t my Submenu show up?
I have this following code, only my submenu does not appear because? <!DOCTYPE html> <html lang="pt-br"> <head> <title>CSS Template</title> <meta charset="UTF-8">…
-
1
votes1
answer902
viewsSending e-mail through Nodejs
I am beginner learning Node.js and I am caught in a question of sending email on the site as if it were that ''contact us'' using Node.js The point is, I can send the email, but it only sends when…
-
1
votes1
answer42
viewsPerform redirection by getJSON
I’m making the login screen using getJSON. I’d like to know how I can do the redirect once it’s successful. The idea of redirecting login.php is not to get too exposed the Javascript code. login…
-
1
votes2
answers85
views -
1
votes2
answers382
viewsRun JS function when user choose Select
I have a select in html, and I want it to run a function when the user chooses any option. I appreciate the help. <select id="frmOperadora0" name="frmOperadora"> <option…
-
1
votes2
answers108
viewsMark only one radiobutton for each line
I have a list, where by line I will mark the radio button stating: HAS, DOES NOT, BROKEN. How do I do and what is the correct way to send this to BD Mysql for later on the edit screen capture?…
-
1
votes1
answer321
viewsAlign on the same line buttons on different Forms
Good morning, I am with the problem that is, two buttons on different Forms do not stay in the same line: <div class="w3-row-padding"> <form action="editar_admin.php" method="POST">…
-
1
votes1
answer33
viewsI would like to search no matter the title accent
<div class="divBusca"> <input class="txtBusca" type="text" name="Tópicos" id="txtBusca" placeholder="Buscar por item..."/> <br><br><br> </div> <br> <ul…
-
1
votes0
answers42
viewsHttprequest using Angularjs, Nodejs and Express
I’m new to these technologies and I’m trying to make an http call (get and post) via html but it’s giving error, I’ve seen several topics here and elsewhere but I can’t make it work. Someone can…
-
1
votes1
answer386
viewsReturn modal values to main screen using jQuery
I have a Bootstrap modal where I fill out a "form" with 2 input fields and 3 radio options. Follow code below! By filling out these fields I have one button (Generate) that puts the entered values…
-
1
votes1
answer8559
viewsLike putting a div under one?
Gentlemen, I’m trying to insert a div under the other, the same should be according to the attached image, but when I execute it is not working. It follows an excerpt of my code, must be some detail…
-
1
votes1
answer48
viewsInput giving wrong results
i am making a store with paypal, pay and mercadopago, but at the time of purchase when I select the input, it always saves as mercadopago. Controller public function checkout() {…
-
1
votes1
answer48
viewsSelect checkbox and show a select
I intend to select the checkbox make a select visible. Code: $("#check").click(function() { if ($(this).val() == "Sim") { $("#Acompnhante").css("visibility", "visible"); $(this).val("false"); } else…
-
1
votes2
answers28
viewsAdding 0.1 to a setInterval gives rounding problems
I have a setInterval running every second calling a function myTimer which adds 0.1 to a total value and shows on screen. É suposto ir 0.1->0.2->0.3->0.4->0.5->... But it’s going…
-
1
votes1
answer61
viewsDisplay preview of the video the user selects by input
In my application the user can select a video to add to the form, but before sending it I would like it to display the video when the user selects the file. I managed to do this already with images…
-
1
votes2
answers151
viewsClone and delete DIV
Good morning, everyone, I need to implement in a project a function in my Products tab, where I need to add (clone) and remove the Divs and increment the number of these dynamically through the…
-
1
votes1
answer23
viewsBranch Filter Using Buttons
Hello, I made a branch filter for my company, but I put up a backlog. I want the person to choose the region of the subsidiary and browse the content of that button and that the content will…
-
1
votes1
answer41
viewsCode works on console, but when I call it in document does not work properly
I have a code that works perfectly running on the console but doesn’t work when I call it by clicking on a document button. Function of my code: Read a file .csv and separate words between semicolon…
-
1
votes0
answers26
viewsAdd multiple elements (DIV’s) to IE 11
Hello, I have the following code: function LoadProd() { var restUrl = "https://tenant.sharepoint.com/sites/site/Negocio/OfertaParticulares/_api/web/lists/GetByTitle('Ofertas Particulares - Criação…
-
1
votes1
answer155
viewsBack Focus to a field after validation
good afternoon! I’d like to help on a little something here, I have a name field from the card and I’d like to validate it to see if it’s empty, made and works only that the time I click on the…
-
1
votes2
answers417
viewsDiv position Fixed below other Divs
Hello i would like to put a div Fixed on the right side of my div without it getting over the dolls. as I go scrolling this div goes accompanying the scroll but only inside the black div! the dolls…
-
1
votes1
answer239
viewsPut text under image slider without breaking harm the layout
I own an image slider so: I need to put "subtitles" underneath each of the images. How it is in html: <div id="pic-0"> <a href="/ModuloPublico/AssociacaoCooperativa/Index/101"> <img…
-
1
votes2
answers33
viewsHiddenfield value always zero
Good morning, I am learning Asp.net and I came across a problem in my code that I do not know how to solve. I have a gridview that is fed by the database and I have a button that calls the…
-
1
votes2
answers120
viewsDynamically created datatable and tables problem
Good afternoon Galera, I’m having trouble using the dataTable() in a dynamically created table. in the HTML i have the table body. <table class="table table-sm table-hover" id="mytable">…
-
1
votes0
answers39
viewsHow to catch the event when an input receives text from the autocomplete? No Jqueryui?
I need to know if you can notice (event) when I’m browsing the listbox generated by the Chrome autocomplete (for example) when it automatically plays address values, phone, etc, in the form fields…
-
1
votes2
answers92
viewsDiv hidden/visible does not disappear when you click the search button
Good night, I have a page with 3 Divs and within each div has a different form, I leave all the Divs hidden and make them appear as the value selected in a first combobox(select) option that is…
-
1
votes1
answer21
viewsCode does not find modal
Hello I have a type button image that supposedly should be opening the modal but on my site does not open. I have bootstrap installed from the most updated version, I can not understand why my modal…
-
1
votes0
answers36
viewsImage does not load in email when fired by the application
When the administrator performs the registration of a seller an automatic e-mail is triggered to the email provided "Welcome e-mail;". I’m having trouble when the seller receives the same, the…
-
1
votes1
answer312
viewsHow to align text vertically next to image?
Hello, what is missing in this code to align the text vertically next to the image, and each of the three smaller divs has an image and text. * { margin:0; padding:0; } body { background:…
-
1
votes1
answer985
viewsCenter a div to the center of the screen in flexbox
I’m trying to make a copy of the website https://champion.gg/ using grid/flexbox and would like the Champion search box name centered with the page, same as the original site. I applied a…
-
1
votes1
answer562
viewscheck if file is image or video with JS or JQUERY?
Good night! I’m doing an image/video preview before the user posts it, I’m wanting to do it with a single input and would let JS check the file and return the extension so I can display the desired…
-
1
votes3
answers216
viewsHow to take the value of a Database table field and use it in a PHP variable?
I have the following question: I have a condition if else in php the problem is that I need a value inserted into a field in the database table for the script fulfil the condition of if or of else.…
-
1
votes1
answer58
viewsExpected text is not displayed
I made the following program to create a restaurant system that has a menu and the user entering their orders. HTML code: <!DOCTYPE html> <html lang="en"> <head> <link…
-
1
votes1
answer57
viewsDynamically create div
In the JavaScript I have the following excerpt from the code: var html = ` <div class="row"> <div class="col-sm-3"> <div class="fields"> <div class="input-group input-group-sm…
-
1
votes2
answers137
viewsHow to treat Timestamp field return via AJAX?
How to convert this sequence of numbers: 1555506548000 into a valid date ? I need to make the following comparison: if (_valor[0] == item.DT_CRIADO_EM) { //Faz alguma coisa }; However the date is…
-
1
votes2
answers637
viewsHow to add icons before the placeholder
I am working on the front of a login and I am wanting to insert the contact icons for the email field and the lock for the password. I want to insert before the message of placeholder. I am not…
-
1
votes2
answers583
viewsError onclick Javascript
When trying to perform the click event, returns the following message in the console: Uncaught Typeerror: Cannot read Property 'value' of null at calculatorWidth (square.js:3) at…
-
1
votes1
answer125
viewsCarousel button does not appear
I tried to look for error of all that is way but I found no way <div id="carouselFritou" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div…
-
1
votes1
answer60
viewsWhy is <li> centered?
@charset "UTF-8"; body { background-color: rgb(0, 0, 0); } /* header principal */ header#main-header { width: 246px; height: 42px; background-color: rgb(68, 68, 68); margin: auto; }…
-
1
votes1
answer41
viewsZig Zag Stripes with 3 or 4 colors - CSS3
Hello, I’m trying to make a zig-zag Stripe in css3 with 4 colors, would be gray, white, pink and white again. However I’m only able to do it with two colors. .zig { background:…
-
1
votes1
answer102
views -
1
votes1
answer66
viewsHelp with positioning Divs when you arrive at a certain media query
Good evening to you... I’m doing a simple test here to start a project, only I’m not getting the Divs positioning the way I want it. I wonder if anyone has ever done something like this and if you…
-
1
votes1
answer83
viewsHow do I convert data from a multi-line Mysql Text field to line-breaking HTML?
I have a Text field called INFORMATION in my Mysql table containing data in multiple rows: Joseph, Maria, Melissa, When I convert to HTML the result appears in a single line: Jose, Maria, Melissa, I…
-
1
votes3
answers47
viewsI’m having trouble aligning
I am beginner and I am trying at all costs to leave the description as follows; However, when you paste html into the platform’s Adm, the description is misaligned; HTML <h3…
-
1
votes4
answers114
viewsHide a DIV based on the value of a field
Good afternoon, guys! I’m trying to hide a DIV in my code based on the value a field on my site returns. If its value is contained in "Accident", the DivAcidente must be displayed. If any other…
-
1
votes2
answers235
viewsBorders on each part of the menu
Opa, I’m creating a site using html + css, I was making a menu but it got a bit buggy the part of the "edge" of it. I marked in red where the blue bars were missing. HTML: <!DOCTYPE html>…