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
answer1822
viewsWrite number typed in full in JS
I have a college job to do where you ask the user to enter a number between 0 and 999 and the algorithm must print the entered value in full. I was asking the teacher for help today and he told me…
-
0
votes1
answer724
viewsSite with hidden HTML
I need to extract the sales data of semi-new cars on some websites. One of the sites is the Locamerica company. However, on her website does not appear in the HTML page the content I need to…
-
0
votes2
answers234
viewsMy PHP not saved in BD
The BD connection has been successfully established. If I play the same Query in Phpmyadmmin the command works and the data is saved in the BD. But if I use the same command in PHP it simply won’t…
-
0
votes1
answer82
viewsI have a question in the html and css of this code
Unable to adjust CSS below. I made a code where I play jokempo with the machine but the score is outside the player’s and computer’s Ivs. I’ve done everything I can to put it, but it won’t.…
-
0
votes1
answer26
viewsMake registration popup made!
Good morning, I want to jump up popup when the registration is successfully performed and placed at the base and want to know what part of the code I should put it on This is the php file: <?php…
-
0
votes1
answer668
viewsIs there any way to force the line break inside the <table> tag?
I have a Select in bank that returns me a number of records, in the case of tax notes, each note of these has N items, and I would like to make a subtable that when it is clicked, list correctly.…
-
0
votes0
answers62
viewsPlace ID in foreign key table
'Cause I can’t get the ID on my table foreign key last_insert_id() returning "0" <html> <head> <meta http-equiv="content-Type" content="text/html"; charset="utf-8" />…
-
0
votes1
answer47
viewsSet which value will be stored in a PHP variable to be saved to the Database
I have an HTML page where the user selects the information he needs and stores it in the database when he completes the operation. It is a small form in which there are practically only check boxes,…
-
0
votes2
answers586
viewsChecking multiple <select> of same "name" if it is empty with Jquery
I tried several ways but was unsuccessful in creating a window.Alert(); with Return false; if no select field of name="producto_qtd[]" is selected or if it does not exist, but unsuccessfully, I…
-
0
votes2
answers430
viewsAllow Submit to appear only when CERTAIN fields are filled in PHP
I need the DIV with Submit: <div class="botaonovochamado"> <input type="submit" name="CODIGO" value="Novo"> </div> Only appear when certain fields are filled in. For example:…
-
0
votes0
answers45
viewsError calling firebase function with javascript
I’m developing a website using firebase. I’m right at the beginning but have faced problems. The login is going normal, but the registration is not. The error -> "Uncaught Typeerror:…
-
0
votes1
answer67
viewspassing webapi value to select html in angular 2
i have a typescript function that receives a json value from my webapi, and I need to pass this result to a select in html... Service: teste: teste[]; public getNomes(type: string, formGroup:…
-
0
votes1
answer169
viewsHow do I access the DOM elements in the Electron?
I’m new to Electron, and I’m trying to do a function from a click on a menu. Follow my example below. index.html <!DOCTYPE html> <html lang="pt-br" dir="ltr"> <head> <meta…
-
0
votes1
answer47
viewsWhy don’t my elements just go 3% sideways?
Here is my code var move = document.getElementById('main').children; var movel = 3; var x = 0; console.log(move.length); function right(){ for (var i = 0; i <= move.length; i++) { var cssPr =…
-
0
votes1
answer37
views -
0
votes1
answer146
viewsSomeone would have a solution to turn "checkbox" into "radio"
I have a Jquery code along with Js, because I intend to turn checkbox into radio, this code works with radios, with just one click on the same location it unchecks the radio if it is marked, and if…
-
0
votes1
answer762
viewsHow to make the dropdown overlap the other elements?
When I push the button over the dropdown it does not override the other elements of the navbar only site. HTML <nav class="navbar"> <a href="#">INÍCIO</a> <a…
-
0
votes4
answers1373
viewsHow to create an empty/null value in select dynamically?
I have a select of cities that is supplied dynamically with the query returned in the databases, but when the values in the option the default value emptiness some preventing to select an empty row.…
-
0
votes2
answers48
viewsError in form validation
What I need to do is when the email is not valid send from the javascript alert wanted to show a message above the form in question that showed the email was invalid! HTML CODE <input…
-
0
votes2
answers900
viewsHow to increase the input="text" font and cursor according to the desired size?
I applied a 30px padding and the cursor and input source="text" did not increase as the internal spacing applied, is there any possibility of increasing the size as desired?? I tried applying a…
-
0
votes1
answer39
viewsUse element attributes in function of controller scope
I have a form that calls a function when being submitted through the attribute, for example: ng-submit="submit('POST', 'example.com')" I would like this attribute to be just called the function, and…
-
0
votes2
answers151
viewsIs it possible to insert and remove at the same time on the same php page?
Good, at the moment I’m doing a project with html, php and mysql and I’m having a little problem now. Getting to the point: Assuming I have two tables: unconfirmed and confirmed, and what I want is,…
-
0
votes1
answer34
viewsWhat mistake am I making when I put the third "address" item in the code
<?php include"conectar.php"; /// codigo para fazer leitura do banco de dados /// incluindo ?php echo $cpf ? entre <> na tabela onde ficará o registro $query="select nome, cpf from…
-
0
votes1
answer69
viewsError returning database records
Good evening everyone, I have the following error when returning the database data: "Warning: mysqli_fetch_assoc() expects Parameter 1 to be mysqli_result, null Given in" Follows the sources: php…
-
0
votes1
answer3597
viewsHow to add the "active" class according to the page accessed
I have a separate layout in my project, where it is standard for all pages. how to do, in the left menu, the active class is activated according to the selected page. I have the html code: <div…
-
0
votes2
answers247
viewsPost php only with all fields filled
My form is always being sent, even if there is nothing in the input, someone can give me a light? HTML: <form id="ajax" method="post"> <div class="form-group"> <input type="text"…
-
0
votes1
answer69
viewsNo matter the products for the PHP cart || MYSQL
I’m making an online store and I’m having trouble making the cart, when I click on the icon to add to cart, it doesn’t matter and the cart always appears empty. And the result: This is the button…
-
0
votes1
answer222
viewsChange button class after filling all fields
I have a button that needs to be enabled when the user finishes filling the fields, but it needs to be changed the class when it is enabled... when the button is disabled I would need that while the…
-
0
votes1
answer330
viewsWarning: Illegal string offset 'id_mol_comp' in
I’m making multiple mistakes Warning: Illegal string offset 'id_mol_comp' in C: wamp www fanamol carrinho.php on line 167 Notice: Uninitialized string offset: 0 in C: wamp www fanamol carrinho.php…
-
0
votes2
answers61
viewsHow to set id= with ' instead of "
How can I set id= with ' instead of " because if I try to run the script on chromeBrowser.Executescriptasync with the error id=""it, how can I do this? html/javascript code var x = '<label…
-
0
votes4
answers704
viewsHow to add a new style to an html element?
Hello, I would like your help in a problem that I have not found the solution. I have this code: (example) .cifra.mono, .cifra.mono pre { font: 12pt 'Roboto Mono', monospace; } .c_config span {…
-
0
votes1
answer1081
viewsGet span information inside div
I have the following HTML structure: <div class="ui fluid search dropdown procuraAluno selection multiple active visible"> <select name="ci_direcionado" id="cisOptions" multiple="">…
-
0
votes1
answer27
viewsSending form per table to the same page without refresh
I am having a small problem starting from the principle of sending form to the same page and displaying the parameters in a modal, however I can not catch them through the post, follows the code:…
-
0
votes0
answers669
viewsHtml5 notification system, javascript
I would like to understand more about this system, however, no publication helped me. I already know how to create a notification <!DOCTYPE html> <html lang="en"> <head> <meta…
-
0
votes1
answer545
viewsHow to create shortcuts with Javascript
The Script that follows below should allow the user to type the ALT+C combination where he would open a prompt and then enter a code to redirect to the page according to the numeric condigo…
-
0
votes1
answer54
viewsLaunch Modal Window
I’m trying to launch a window after sending email and then kill the session and then redirect to the index page. // Enviar email $mail->Send(); //echo "E-mail enviado com sucesso!"; echo…
-
0
votes1
answer4470
viewsPlace elements side by side css/html/bootstrap
Need to put these two elements together, how can I do it? Using html/css/bootstrap. My code: Html: <div class="container"> <div class="pesquisa"> <form id="filter">…
-
0
votes0
answers432
viewsHow to make a score in PHP or JS?
I saw many similar questions but none answered me, I would not like to use Ajax as it is an exercise the teacher asked only JS, HTML and PHP. I made a mini quiz game, everything is working right but…
-
0
votes1
answer16
viewsError in Javascript when selecting the button in another tag
Every time I press the Button to create inside the id="secElements" it should create a button, but it doesn’t, I’ve already reviewed the code several times and I can’t find the error <style>…
-
0
votes0
answers388
viewsProblem with CSS page numbering in print view
I have a report where several tables are created separated by categories with specific header and footer that repeat. I need to add a page numbering for the categories where in each new category…
-
0
votes2
answers52
viewsRemove information select html
I have a page that has a select and I wanted to know which option was chosen in select <html> <body> <select class="form-control qa-product-options__quantity" name="quantidade"…
-
0
votes1
answer483
viewsSimple form protection to prevent spam
I have the following form: <!-- Comments Form --> <div class="card my-4"> <h5 class="card-header">Deixar um comentário</h5> <div class="card-body"> <!-- Comentar…
-
0
votes1
answer55
viewsHow to send only the quantity of products that were selected in the checkbox?
I displayed a table of items and in this table I added a checkbox for each item and a field to pick the quantities of each item. I’m managing to send to PHP only the items marked in the checkbox…
-
0
votes2
answers588
viewsHow to update <audio> html without having to refresh the entire page?
My web page should play a different audio every 1 minute, without refreshing the entire page. The audio can stay in a div, but it needs to be updated every 1 minute, but the way it is, the browser…
-
0
votes1
answer26
viewsError checking radio with if
I’m trying to do a simple check of if and Else, but I’m not getting it, because it only returns as true when actually in the case I’m trying to test it was to return false. Keep going like I’m…
-
0
votes1
answer463
viewsCalculate values for each column of an html table
I want to calculate values from a table. Each column has different values, at the end of the table, I would like to inform the total value. Below is my html. <table class="table table-striped…
-
0
votes2
answers286
viewsHow to reverse the animation of a Modal?
I have a CSS code that makes an animation of a modal go down and stand in the middle of the screen, now I needed to reverse this animation, I need the modal that is in the middle of the screen go up…
-
0
votes2
answers729
viewsValue of input type null
I will pass here every page for an analysis and know how I send the value of the input type to the other page. I thank you already! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
0
votes0
answers20
viewsSemantics - Hide or remove feedback messages?
I know that this question can be closed because it is based on opinions but, in order to maintain good practices, follow the scenario below: 1- User made a registration on the site. 2- I display a…
-
0
votes2
answers49
viewsproblems with color exchange through javascript
I have a problem in javascript where each time period changes the color of an element. Follow the code below: <script type="text/javascript"> var timer = setInterval(modCor, 5000); var cor =…