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
-
-2
votes1
answer640
viewsHow to remove the question mark "?" at the end of the URL of a request?
I’m using a form to trigger a request GET to an endpoint of mine <button> instead of the tag <a> for links because the CSS style was only made for the tag <button>. Behold:…
-
-2
votes2
answers94
viewsButton to add numeric value, write to Postgresql database and display on screen with PHP
Next, I am working on a design of a system that has as one of the parameters "series".. I need from the "Save" button it takes the value of the series, save it in postgresql and show the next number…
-
-2
votes1
answer168
viewsmake a search between two data php html mysql
I need help with a search between two dates.... I am entering an initial date and a final , but I need to return the result on another page .... however my return is always from the customer…
-
-2
votes2
answers57
viewsData validation in PHP
I am developing a project which I am using a structure somewhat similar to that of Laravel, this structure allows me to make a CRUD in the whole system using only one class and setting the tables I…
-
-2
votes1
answer35
views -
-2
votes1
answer101
viewsHow can I get the html input for js
How can I take input from someone in html and log (console.log) on the console. Basically I want to be able to take input user and log in to the console (console.log) If you think the question is…
-
-2
votes1
answer83
viewsjQuery1.7.2 compatibility issue for jQuery 3.3.1
I am layman in JS, but I need an urgent application and I found one that suits me, just make the adaptations. I have the following code below: function id( el ){ //return document.getElementById( el…
-
-2
votes2
answers355
viewsAngular - Page without showing previous components
I’m new at the angle, accustomed to HTML href and just open another page, let’s get to the problem! 1 - I have a form asking for the name and a button of Ubmit 2 - I have another component which is…
-
-2
votes2
answers604
viewsMultiple pages in the same HTML file
Hello everyone It is possible, only using HTML and Notepad++ codes for example, to embed separate pages within a single HTML file? explanation: the structure of the home page is created at the end…
htmlasked 6 years, 2 months ago petronio petrarca 1 -
-2
votes1
answer720
viewsHow do I add values in another column in my table with javascript?
I’m using append to generate my table, but each row is being generated by a ForEach, but now that I have managed to generate the first column I have no idea how to generate the other let TrackerList…
-
-2
votes1
answer27
viewsUndefined index php post error
<form method="POST"> <input type="text" placeholder="Nome completo" name="nome" maxlength="30"> <input type="text" placeholder="Telefone" name="telefone" maxlength="30"> <input…
-
-2
votes1
answer203
viewsImprove way to disable textarea
I have this button to enter a new record: <button type="button" name="add6" id="add6" class="btn btn-primary disable" data-toggle="modal" data-target="#exampleModal6"…
-
-2
votes1
answer1126
viewsI cannot place the image next to the title using tag link
<title>Biografia - João da Silva</title> <meta charset="utf-8"> <link rel="icon" href="favicon.png"> <h1>Sobre mim</h1> <p>Moro em São Paulo mas atendo…
-
-2
votes3
answers86
viewsAlert function is not running when clicking the button
By typing the text in input and click on the button, the function alert() does not perform! My code: <html lang="pt"> <head> <meta charset="UTF-8">…
-
-2
votes1
answer265
viewsget PHP data, with conditions
I would like to take the date the user entered as the basis for the information he will select. There will be 4 date options, but the conditions are: if the user selects a day that has already…
-
-2
votes1
answer128
viewsTake a value of a cell[0] of a . date()
I was able to pull all the data from my selected line. But I want to access only the value of a property, for example id_produto. How do I do? I’ve managed to print out all the data on the console:…
-
-2
votes2
answers57
viewsThe intention is to make these two <H4> titles editable, but unfortunately I am only able to apply in the first <H4>
window.onload = function() { function editTitle() { var choices = [] var title = document.getElementsByTagName('h4')[0]; var span = title.firstChild; span.onmouseover = function() { this.title =…
-
-2
votes2
answers78
viewsLINE-HEIGHT is not working on my table
* { font-family: arial; } body { padding: 0; margin: 0; } .escopo { width: 100%; height: 200px; background-color: yellow; } .margem_escopo { width: 1000px; height: 200px; margin: auto; } .tabela {…
-
-2
votes2
answers898
viewsHow to leave a space between the menu and the top of a page?
I would like to leave a small space between the navigation bar and the menu (approximately 20pxs) without affecting the background image positioning. HTML <!DOCTYPE html> <html>…
-
-2
votes5
answers102
viewsdoubt about select in css
Hello, I would like to create a spacing in the options of my select, can someone explain to me how <form method= "POST" class="mb-0" action="includes-site/enviar.php" id="formcadastro" >…
-
-2
votes1
answer73
viewsReduce the number of arrays
I wanted to reduce the number of arrays and tried this way the problem is that I think something is missing because it is not reading the information inside the json. <select id="myselect"…
-
-2
votes1
answer37
viewsHow do I identify if the scale of the div being animated increased using javascript
<html> <style> #dv{ border:1px solid red; background:#344; width:80px; height:80px; animation:bloco 0.5s ease 1; } @keyframes bloco{ from{transform:scale(0.0)}to {transform:scale(0.6)} }…
-
-2
votes1
answer1928
viewsHow to invoke a method specific to a PHP class?
I created a class Pen which has the following attributes and methods: <?php class caneta { var $modelo; var $cor; var $ponta; var $carga; var $tampada; function rabiscar() { if ($this->tampada…
-
-2
votes2
answers196
viewsModal does not open in HTML
Good morning!! I have a modal created on my page, but when I click on the link I referenced it does not work, it just happens nothing. I have it in another page and it works normal, but on this page…
-
-2
votes1
answer82
viewsWhy is the variable not accessed outside the function?
I know there is scope in javascript but in this case it is different the variable it is global follows the example. <html lang="en"> <head> <meta charset="UTF-8"> <meta…
-
-2
votes1
answer67
viewswriteln is obsolete in Javascript or not?
I have a simple code example <html lang="en"> <head> <meta charset="UTF-8"> <title>teste</title> </head> <body> <script> var nome = "maria"; var…
-
-2
votes2
answers194
viewsWhy does the code return Nan Hi BMI calculation?
I don’t know what’s going on, but what happens is it returns "Nan". The code is supposed to be a simple BMI calculation. It supposedly takes the input values of a form and performs the operations.…
-
-2
votes1
answer50
viewsAuto complete does not work for what reason and why?
Why does my search not work? $(document).ready( function(){ var cidades=[], bairros=[]; $.ajax({ type:'POST', url:'curtida.php', dataType: 'json', success: function(response){ for(var i in…
-
-2
votes1
answer48
viewsCreating a slider with Jquery
Talk community, all right?! I’m creating a slider using Jquery and I’m not getting any further. In the example I created I can’t change the images by clicking on the bottom right menu. Which code…
-
-2
votes1
answer400
viewsExporting html to PDF with html2pdf background-size does not work
Boas, I am trying to convert an html page to pdf using html2pdf, but it seems the background-size:cover is not working. On my web page my image looks like this: When converting to PDF the image…
-
-2
votes1
answer40
viewsMuch of my site has become a link
Can anyone tell me what the problem is? I was trying to make a common site and made the login page.php, but when I put the link in the menu of index.php my entire site became a link. Now everywhere…
-
-2
votes1
answer35
viewsFilter TransitionHover not working, can anyone help me?
I tried a lot of ways, but it didn’t work, here’s my code: .left { left: -100px; margin-top: 50px; filter: contrast(0.8) brightness(1.2) saturate(1.4) blur(4px); -webkit-filter: contrast(0.8)…
-
-2
votes2
answers232
viewsHow to give bottom spacing (distance) in a li
Hello, guys. I’m new with development and I’m studying a little front-end (and loving hehe) I’m, for student purposes, creating a simple store website. I created a menu at the top of this page,…
-
-2
votes2
answers104
viewsGlr, how do I leave the element that was created fixed on the page even if the page is loaded? When loading the page it disappears
var listagem = document.getElementById("listagem"); function createNewElement() { // Cria a div var div = document.createElement("div"); div.setAttribute("id",…
-
-2
votes1
answer453
viewsSlick is not working
I have the following html code <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…
-
-2
votes2
answers167
viewsCalculator in javascript+ Html no Quit result
I don’t know what I did wrong, I’m starting on this and I followed the booklet, but the mistake: can someone help me? <!DOCTYPE html> <html> <head> <title>Calculadora…
-
-2
votes2
answers128
viewsWhy do onclick events on table lines not work after loading?
People, when I position the mouse arrow should appear a hand or a vertical dash, and still without action when I click. foreach($campeonatos as $campeonato){ //ta no select echo "<tr…
-
-2
votes2
answers72
viewsJavascript help
<!DOCTYPE html> <html> <head> <title>Exercicio 3</title> <meta charset="utf-8"> </head> <body> <center><h1>Números dos Meses</h1>…
-
-2
votes1
answer40
viewsdisplay:table next to footer
Hello! I’m trying to leave a div next to the rodape. I am using display:flex and with this I can not use percentage. Can someone enlighten me on how to solve this somehow... <style> *{…
-
-2
votes1
answer255
viewsHow to break line after button in Angular with Materialize?
Making a small page using Angular, I came across a problem of overlapping two buttons. When they are on screens more than 420 px wide (cell phone in horizontal position, for example), it does not…
-
-2
votes1
answer90
viewsI wonder if there is any way to load a jquery before the page is loaded
-I’m testing to load the rest just put an id on the body to see if it would <script type="text/javascript" > $(document).ready(function() { $("#body").load(function(){ var tip =…
-
-2
votes1
answer42
viewsMy code only filters if you type first letter Jquery, how to filter by typing the whole word (table)?
Ex: word (ideal) if I type in the search the "i" it searches all the word that contains the letter "i", but if I type all the word the search disappears and is blank. follows the code:…
-
-2
votes1
answer130
viewsACCESS_DENIED when consuming API Googles Maps
Trying to do a geolocation between zip code, I have this code, downloaded <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Calcular distancia entre cidades (mapas e…
-
-2
votes1
answer435
viewsSelect option makes the Input field mandatory
I wonder if I can make a document attachment input mandatory depending on the select option. I looked at some questions / related articles and could not find what I was looking for. HTML code:…
-
-2
votes2
answers47
viewsReturns the symbol in an accented letter of the database
The user searches for a name on the page, more precisely in a modal, when the name is returned it will appear this symbol: (if it has an accent). But in the database the name is accentuated. Below…
-
-2
votes1
answer37
viewsI can’t do the insert in the bank
I made this code to register a client in a website db. The code is coming back as if the field is empty. Can someone tell me if I’ve done something wrong?? PHP session_start();…
-
-2
votes1
answer120
viewsHow to handle the DOM of a XHTML file with javascript
JS file: //Variáveis Globais - HTML var campoMatricula = document.querySelector(".matriculaInput"); var campoNome = document.querySelector(".nomeInput"); var campoAno =…
-
-2
votes1
answer405
viewsHow to make an element occupy the entire height of the div?
I have an element <aside>, and I want him to occupy all the height of <div> where it is inserted. However, I don’t know how to set the height relative to another element. How can I set…
-
-2
votes2
answers458
viewsFinish buying Html + PHP
I’m making a website for a school work where I need to create List of products available in the Database, and have the option to enter in the shopping cart. Until then it is working correctly, but…
-
-2
votes1
answer62
viewsREFERENCE ERROR html and Node.js
var express = require('express'); var router = express.Router(); var pessoas = []; /* GET home page. */ router.get('/', function(request, response, next) { response.render('index', { title: 'Node.js…