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
answer623
viewsBootstrap Collapse animation does not work
Good evening, I would like some help... I’m trying to use the Boostrap 3.3 Collapse in a row of a table, the code is like this: <table> <thead> <tr> <th>header</th>…
-
-1
votes1
answer3875
viewsHow to Insert HTML Code within Javascript?
I have this code, I’d like to know if it’s correct the way it is? Javascript code: function texto(){ if(SONome == 'Windows 10 x32'){ window.location.href =…
-
-1
votes1
answer506
viewsSave checkbox marked in an array!
I want, when selecting multiple checkbox, these values to be saved in an array, so that it is later saved in the database. If I leave the checkbox with the same id, as follows: <div…
-
-1
votes1
answer7512
viewsHow do I calculate age using php and html?
Using the data from html in the php how to calculate age? Date of birth on HTML: <form method="POST" action="doc.php"> Nascimento: <input type="date" id="data" name="data"> </form>…
-
-1
votes3
answers1112
viewshow to create search system using filter
I have a search system where I search users filtering by: name, age and email. If I filter by name and age and email, everything happens well, but if I filter only by age, for example, nothing is…
-
-1
votes2
answers2024
viewsHow to take data from a form from another page
Hello guys I am with the following doubt I have a web application I want when logging in the home page "index.html" take the 'name' and 'email' and put with jquery in another page with php, ajax and…
-
-1
votes2
answers1190
viewsHow to put text on an icon?
I would like to make a shopping cart icon, and put a number inside it to iterate according to the products that the customer puts in the cart, but I could not do, an example: Note: HTML and CSS, the…
-
-1
votes2
answers147
viewsHow to make the amount of DIV to adapt
Good afternoon, my doubt is the following, on my site there is a section where the highlights part is, and in this section there are 6 more Divs for the products display (image) Well, so far so…
-
-1
votes1
answer1162
viewsHow to call a variable that is in another file?
I have a "Y.php" file that returns in one of the inputs, the resulting calculation of other inputs within this same file, I do this using Jquery and is working 100%. However, I would like to use the…
-
-1
votes1
answer46
viewsPositioning a FORM on the page
I’m trying to put two SELECT MENU next to each other on my page. However, when I put the first it appears, when I put the second and appears in the switched position. If I invert and put the second…
-
-1
votes1
answer575
viewsHow to overlay a body image on top of a div?
I have an image that is inside the body of css .test-page { display: none; } html, body { margin:0%; height: 99%; background-color: #041E43; border-style: solid; border-width: 10px; border-color:…
-
-1
votes1
answer15277
viewsHow to move elements in HTML/CSS
I’ve already searched the internet for how to do it but none of it is working. I created a class calling for .img for testing and when handling it in CSS, use .img{right: 500px;} as a test, but…
-
-1
votes1
answer50
viewsPrivileges of users(2)
Well, I’m on a college exercise that’s creating a blog. Can contain 4 different users: User(only reads post and comments) Redator(Creates posts and manages comments) ADM(manages all posts and…
-
-1
votes1
answer1691
viewsList data in a table using ajax php and bootstrap
I am facing a lot of problems and doubts with ajax! Have the following function that updates the data and list in a table: function atualiza(){ $.ajax({ dataType: 'json', url: 'get_enderecos.php',…
-
-1
votes1
answer90
viewsRead file does not insert accents
if(isset($_GET['rf'])){ $filename=$_GET['rf']; //$path=$_SERVER['DOCUMENT_ROOT'].'/'.$filename; //echo $path; if(file_exists("subs/" . $filename)){ header('Content-Type: text/plain');…
-
-1
votes2
answers174
viewsCheckbox show/Hide button for generated lines
I have an array of checkboxes generated and rows of tables that have the same class - class starts at 1 and increases in 1 as more elements are recovered. Explanation Succinct: I need that when I…
-
-1
votes2
answers3624
viewsRemove negative signal from input number
I have the following code in jquery: $.each(data.Dados, function (i, val) { tr += '<tr>'; tr += '<td><div class="product" style="margin-bottom:0;padding-bottom:0;"><div…
-
-1
votes1
answer176
viewsDiv moving in changing screen
My home site has a start html: <header class="headd"> <div id="divcentral"> <a href="index.html" id="linklogocentral"><img src="img/logo.png" id="logocentral"></a>…
-
-1
votes1
answer42
viewsBoostrap and two buttons
I’m trying to log in and register on a page, but when I click on the sign up button, it goes back to the beginning of the login.php. Where do I leave the register_form in display: none, not showing…
-
-1
votes1
answer324
viewsMultiple buttons on the same page with different functions
I have the following code that has 3 buttons, when pressing a button, it should change a value in my table in Mysql, however, when I press one of the buttons, it is the same as having pressed all…
-
-1
votes2
answers365
viewsfilter_input GET
I need to recover the value of GET to perform an insertion in the bank through the post method, but when calling the function through Submit, "Call Stack". Code <?php session_start();…
-
-1
votes1
answer35
viewsPhpmyadmin collecting data unnecessarily?
Below the code I have to collect the $_POST <?php $conexao = mysql_connect("localhost:3306",'user1','senhadementirinha'); $bd = mysql_select_db("recados"); ?> <form name="form"…
-
-1
votes2
answers83
views3 Div’s 100%, 30% each, one on the left another in the middle and one on the right
Hello I have a problem in this basic CSS, I have a father div 100%, I need the first son to stick to the left the other in the middle and the other on the right. I tried something with Nth-Child but…
-
-1
votes1
answer242
viewstawk.to how to change an iframe that has ! Mportant to force the left align?
Well I am using something from third parties to be able to talk in a particular store, I am using the tool tawk-to. But it forces the Iframe css with ! Import in style. How could I change to line up…
-
-1
votes2
answers2780
viewsReturn PHP values via Ajax and display in HTML (separately)
Can you return values from a PHP page via Ajax and display them separately? Ex. I have a PHP page on which I have the return values: <?php echo $a; echo $b; echo $c; ?> Currently I can…
-
-1
votes2
answers60
viewsHow do I show information from a particular location, viewing in responsive mode, on mobile?
I added the iframe from a certain place on my site, but location information, and suggested routes, do not appear when viewed in mobile mode, seeing on mobile. Here’s the way it appears on the…
-
-1
votes1
answer101
viewsreuse jquery clones in another div
I have a section of Html which is cloned and completed through jquery, however need to use the same cloned structure in another place keeping and clear the first cloned site, in case it would be two…
-
-1
votes1
answer137
viewsSending of Product Order
Guys, I’m putting together a product order shipping system, on the product selection page, we have the selection of them, where each one will have a input, however, undetermined, how do I send all…
-
-1
votes1
answer182
viewsOverlay a video over a background, and add a logo over a menu
I’m not getting to overlay a logo on a menu I created on the site, and I’m having trouble adding a video on top of an image on the site. Someone could give me that strength? Follow the image:…
-
-1
votes1
answer1518
viewsselect / form / input / html and php integration
Well I’m trying to create a system that looks like this: As I’m starting now, and I’m trying in every way to learn even if it takes a long time to get something close to it. So far I’ve managed to…
-
-1
votes1
answer41
viewsHow can Charts information be sql querys?
My doubt consists in creating a Chart of lines where each value is a query that I have already built! I am using phpmyadmin which has BD (imported from an sql file) And I’m wearing: link…
-
-1
votes2
answers867
viewsNavbar changing color to scroll
I tried to make a navbar that at the beginning of the page becomes transparent and when rolling the scrool it changes the background of the Nav to black(ex). code: *{ padding: 0px; margin: 0px;…
-
-1
votes2
answers4473
viewsUndefined variable: _SESSION
I can’t seem to solve this problem :/, Form file.php: <?php session_start(); ?> <form action="x.php" method="post"> <?php $_SESSION["urlName"] = $_SERVER["HTTP_HOST"] .…
-
-1
votes2
answers1681
viewsHelp with COMBOBOX, Select cities according to chosen state
I am programming a php application and I have all the states and cities of Brazil in the Mysql database. In the table States have: id, nome, uf. In the table Cities have: id, nome, id_estado. I…
-
-1
votes1
answer111
viewsPHP does not take information from the phone field
I am creating a form to send e-mail direct from a website, through the PHP. However, when I add the field to put the phone to contact the code PHP, You don’t seem to recognize the field, and you…
-
-1
votes1
answer25
views -
-1
votes1
answer379
viewsUpdate query data in php
I’ve been looking at dozens of topics, but I still can’t find a solution. I created a form that shows the database table data and when the data is changed I need to update the table row. this is the…
-
-1
votes1
answer1948
viewsGet input date value
I have two input date created, and would like to take the date of the two by a button. <div class='col-md-5 col-lg-4'> <div class="form-group"> <span>Inicio</span> <div…
-
-1
votes4
answers1878
viewsUpdating an element with Javascript
I have this code: let inicial = -0; const numeros = [1,2,3,4,5,6,7,8,9,10]; function proximo (){ inicial++ document.getElementById("lugar").innerHTML='' alert(inicial) for(let i = inicial-1; i <…
-
-1
votes2
answers546
viewsMask in dynamically generated fields
I need to add a mask with the jquery.Mask plugin in dynamically generated fields, $(document).ready(function($){ $('.mascara').mask('00000000'); }); for(var i = 0; i < data.d.length; i++) { var…
-
-1
votes1
answer105
viewsFailed to read a file. php (lib Phpmailer)
Hello! I have the following form: <form role="form" method="post" action="send_email.php" id="formContato"> <div class="left"> <fieldset class="mail"><input…
-
-1
votes1
answer55
viewsLoop status phrases in HTML
I am editing a file cancellation function, and today it shows only the status "Waiting...", according to the code: &js< cancelEvent = ""; $(".ui-overlay").show();…
htmlasked 6 years, 10 months ago Natan Hoffmann 29 -
-1
votes2
answers177
viewsCreate combo with names within input value
have input with name contributor inside the while: while($rows_cursos = mysqli_fetch_array($resultado_cursos)) { $tabela1 .= '<tr>'; $tabela1 .=…
-
-1
votes3
answers108
viewsProblem in centering images
I’m having some problems centering my images. I basically wanted to center my images in the center of my page. But if for example I go to another PC with another resolution my site gets all…
-
-1
votes2
answers348
viewsCSS tab system with 2 lines of tabs - code using "float"
I am using the code below for a form with multiple "tabs", and I would like tabs 1-4 to appear above tabs 5-8, in two lines. However, tabs 1-4 appear normally, but tabs 5-8 are truncated, they do…
-
-1
votes1
answer539
viewsSet different CSS size for each browser
I have a little problem with my code, in case I have a banner that in Chrome and Opera, it appears in the exact size of the entire screen, but in Edge and Mozilla it appears broken not occupying…
-
-1
votes1
answer1295
viewsSwap image src with PHP / HTML variable
If anyone can help me, I’d appreciate it. I would like to create a structure where the file path is replaced by a button that changes the image number, thus: Variable XXX = image number…
-
-1
votes1
answer46
viewsI only get a checkbox in my database
I’m making a form with PHP and HTML in which by marking several checkbox I must receive them and enter them into my database. But I can only get one, for example, if I tick 2 chekbox I’ll just get…
-
-1
votes1
answer584
viewsCopy code snippet, modify and paste into another Div
I am structuring an experimental system where when clicking a button it copies what is selected (in this case a snippet in html) as the below: <section> <h1> titulo </h1>…
-
-1
votes1
answer301
viewsClose mobile menu by clicking scroll
<header id="header"> <nav id="main-menu" class="navbar navbar-default navbar-fixed-top" role="banner"> <div class="container"> <div class="navbar-header"> <button…
htmlasked 6 years, 9 months ago user110600 3