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
votes3
answers210
viewsReceive form data in a TXT file
Guys, I’ve got some college work to do and I’m trying, I’ve already got some online forms and nothing. I’d like to know where I’m going wrong... :) FRONT END THAT SENDS <!DOCTYPE html>…
-
0
votes1
answer53
viewselements one over the other
I’m learning to use some tags and I’m not being able to put the button on top of that text, the goal would be to have the title and the text and the button and the little text on the side of someone…
-
0
votes1
answer35
viewsHow do I show the result of an account held in an iframe in the original document?
I made an iframe that shows products from another file. html, there is realized a product of product price and the quantity selected with the result of that product showing there same. However, I…
-
0
votes1
answer286
viewsDatatable order by Data en
I’m using the component Datatables.net version 1.19 and I’m having trouble sorting by date by default DD/MM/YYYY HH:mm:ss already tried with Moment, date-me and nothing makes it stay correctly…
-
0
votes1
answer26
viewsI can’t find where I went wrong in my PWA
Hi. I’m with a problem, I’m not understand why my service worker is not registering, I’ll send some prints and my code, I thank from now to all help my sw.js code: var CACHE_NAME = 'static-v10'; var…
-
0
votes0
answers28
viewsNot all images are uploaded by the browser
I have a page that needs to upload about 1200 photos and always worked well. But in the last batch of photos an error appears on the page as shown below: On those icons that appear if I right-click…
-
0
votes1
answer36
viewsSend formatted elements to modal
Good night! I have a list of numbers where the user selects which numbers he wants to book and then informs his name and phone in a modal, and I save this data in the database. When the user selects…
-
0
votes3
answers173
viewsMysql query return with PHP+Javascript
I’m creating a PHP query in a Mysql database. So far so good. The query works fine. I’m calling the query from a javascript using $.post('pagina.php',meusparametros,function(resultado){}) to insert…
-
0
votes2
answers503
viewsValidate password confirmation
I have two inputs within my form: Password and Confirm Password Before the user submit the form, I would like to compare the value of the two inputs. If they are equal, send the form normally. If…
-
0
votes2
answers225
viewsUpdate the value of a variable for the result of its sum with +1
I have a variable that is a number, I want to update its value when the button is clicked... But I want to update the value with sums, for example: the variable value is 0. But when the button is…
-
0
votes1
answer165
viewsjQuery Ajax File Upload error serialize
I am implementing an upload system in my system but am not able to recover the upload data via jquery serial when I pass the data without input file it works normal and does not present me error.…
-
0
votes1
answer63
viewsWhy aren’t you entering the data into sqlite and how to insert images?
I’m making a system, I followed all the steps to insert the data into the table using sqlite, but when I go to the Application in the part of inspecting the browser element the database remains…
-
0
votes0
answers178
viewsError including in database: Duplicate entry '-1' for key 'PRIMARY'
Friends have this table, when I save a user the following error occurs Error including in database: Duplicate entry 'first name.last name -1' for key 'PRIMARY' This is the code. detail in…
-
0
votes1
answer27
viewsVUEJS: Property or method "indicatorTitle" is not defined
I have a simple variable and I want to pass it to my v-for. However, I get the error "Property or method "indicatorTitle" is not defined on the instance but referenced". The way I’m trying: <div…
-
0
votes2
answers81
viewsGrow DIV according to content
.box { height: 42px; width: 800px; background: aliceblue; } .inside-box { height: 42px; display: flex; justify-content: center; align-items: center; flex-direction: column; } .icon-box { width:…
-
0
votes1
answer46
viewsHow to add multiple divs to HTML with javascript without replacing already created ones
// js code, when I add twice or more only the last div is created function Adicionar (nome) { window.onload = init; function init(){ new CriarElementos(); function CriarElementos() { var NovaDiv =…
-
0
votes1
answer35
viewshow to pass a javascript phrase to html
I am learning to work with javascript and I wanted to ask how I can make it appear only one sentence at a time. I want to know how to make one of the javascript phrases appear in the html and that…
-
0
votes2
answers71
viewsposition elements on a grid
I’m trying to make a calculator and I’m not being able to let the round buttons get a little flat, also I’m not being able to leave the 0 the same way it is in the picture I wanted to know how to…
-
0
votes1
answer1123
viewsCSS - Remove focus from button by clicking
I’m trying to remove the blue border that appears on the button while clicking, but insists on staying, which is missing? Note: I am using the Bootstrap 4 I want you to have no focus or style on the…
-
0
votes2
answers340
viewsHide elements but display some child elements with Javascript or Jquery
Talk, you guys, baby? I am making a page that displays a contract for the person. There are some fields that can be filled. But as it sometimes gets long, I’m trying to make a simplified mode, which…
-
0
votes1
answer196
viewsMove elements from right to left, Nav
Gentlemen, great day, great day, Please, I am working on a particular project, and slowly creating the page. I want to put the lis to the right, but with this codígo can not, the documents say that…
-
0
votes1
answer986
viewsFlexbox max-width 100%
I’m studying about flexbox and I tried to put together a structure with flex layout to which I have a container that fills my entire page, inside this container I have two elements, a sidebar…
-
0
votes2
answers39
viewshow to place the local date on the web page
I’m trying to make a page that shows the date and the time but I’m only getting the time someone can tell me how to put the date. I wanted to put the date on H1 like I did then but I’m not getting…
-
0
votes1
answer65
viewsHow not to allow the user to create HTML using input text?
I am relatively beginner in programming, I am 17 years, 2 years with programming but no experience in the job market and recently I started working more actively with HTML. My problem is with regard…
-
0
votes2
answers564
viewsShow login error messages in Python with Django
I’m building a Python login page with Django, Javascript and HTML. What I’m not knowing how to do is show, on the login screen an Alert with the messages "Unauthorized user" and "Incorrect user or…
-
0
votes1
answer195
viewsRow 36: Uncaught Typeerror: Cannot read Property 'addeventlistener' of null
Whoa, what’s up, man? I’m doing a various firebase test project. Because he’s making the following mistake: Uncaught TypeError: Cannot read property 'addEventListener' of null This error is being…
-
0
votes0
answers297
viewsHow to create a popup view in Django/Python
Hello, I would like to create a popup to see the detailed information when I click on a link, these data should come from a view and recover data from some attributes of my models.py…
-
0
votes1
answer103
viewsHow to increase the value of STEP in the input Range as per bar roll
all right with you guys? Well, I have an input range similar to the one below, very simple that I use together a function in JS to print the value on the screen. <input type="range" name="valor"…
-
0
votes1
answer33
viewsEnable disabled by clicking the javascript button
In this code the button is disabled leaving it useless so I wanted to know if I can activate the disabled after clicking the button. var btn = document.querySelector(".btn-apagar");…
-
0
votes1
answer38
viewsSelectively filling an HTML select from a parameter
I have a Django view that queries the database and returns the result to a "query courses.html" file where a select is populated. view py. def consulta_cursos(request): if campus_id == '605': with…
-
0
votes2
answers186
viewsHow to use appendchild
I wanted to know how to do so so that instead of appearing that sentence appears ul when clicking the button, what I should use in createTextNode for this to happen. function mais() { var x =…
-
0
votes1
answer475
viewsDate filter in a table with javascript
Notice now that for my question, I will use only focused data for the problem, without having to put all the fields of a table and the whole HTML body. It took me a long time to elaborate on this…
-
0
votes1
answer32
viewsI can’t get the "column" Divs to stand next to each other
It was supposed to be 3 columns next to each other <div class="container"> <div class="containerint"> <p>Confira nosso trabalho</p> <div class="linha"> <div…
-
0
votes1
answer35
viewsappendchild JS Giving error
Good evening, I am feeding my html to JS using the following code: function loja(){ const divLoja = document.querySelector('.teste') const api = new XMLHttpRequest() api.open('GET',…
-
0
votes1
answer76
viewsIs it possible to add img to CANVAS after window.load?
Good afternoon Devs o/ I have a question, I need to insert an image to <canvas>. But that’s not all, I’m putting together a blog creation system for Instagram, so I have several templates in…
-
0
votes0
answers209
viewsHow to hide body from an http post ( where it contains the password ) of people who are analyzing network traffic?
Good morning beast... I have a windows application accessing a web api in the cloud and picking up some security data from my system... this api is for exchanging information only with my windows…
-
0
votes1
answer23
viewsI want to hide the small
I have a select that has one with descriptive text. I need it to be hidden when you click the select and open the list of options, but it will be visible again when you click the select, or one of…
-
0
votes1
answer207
viewsIs it possible to insert data from a JS array into a ready-made HTML table?
Good night guys, once again here came a doubt. I have a table ready (and empty) on the page HTML, and I’d like to fill it out using JS, is it possible? I’ll leave the code below for better…
-
0
votes2
answers95
viewsSlider stands over the submenu
Guys, are you okay? I’m using the Nivo slider of jquery and I also made a menu with submenus, but when I hover over the menu to appear the submenu, this slider of jquery is on top, the submenu that…
-
0
votes1
answer45
viewsJavascript is not relating in HTML
I am training the consumption of an API, but my Javascript is not working and is not communicating with HTML. Can anyone tell me what I’m doing wrong? Javascript: function carregar_dados() { var…
-
0
votes2
answers101
views(JAVASCRIPT) How to style the layout of this JS code?
I have this code in javascript and I would like to edit its layout, but I do not know how to do (or do not remember) if you can help me showing examples I would appreciate. <script> function…
-
0
votes2
answers56
viewsAvoid validation on hidden elements
Good night, you guys, I need a light. I am creating a dynamic system, which creates a form from a JSON. It turns out that in some cases, I create a select, and according to its value, I display a…
-
0
votes3
answers37
viewsDoubt in the execution
I am attending the basic course of Reactjs of João Ribeiro, and in class 17 he writes the following code: class App extends React.Component { metodo = (texto) => { console.log(texto) } render() {…
-
0
votes1
answer63
viewsCenter <div>
Hello, I’d like to know the reason for my <div> not being centered in the middle of the page, it is in the extreme right as in the example I created below: div#pagina-principal { position:…
-
0
votes1
answer72
viewsDjango HTML does not update in browser
I believe that the structure of my project is somewhat complex. As it is a framework, I did not start it from scratch. My problem occurs when I try to make changes to the text content of HTML files…
-
0
votes1
answer102
viewsBreak line with <img> and <p> inside an <ion-button> - IONIC 5
I have the following HTML: <ion-grid fixed> <ion-row> <ion-col size="12"> <ion-button (click)="go('adopt')" class="button" color="dark"> <img…
-
0
votes1
answer48
viewsHow does a script work on a web page?
I created a page with three divs that direct to videos according to their title, when clicking on each of them, a modal is opened with the respective video of div. This is the HTML: <body>…
-
0
votes1
answer102
viewssplit article into two columns
Good evening, I’d like to know how I can share the <section> below in two columns so that they are identical and with the texts aligned. On my site the left column is correct but the right one…
-
0
votes1
answer46
viewsHow to calculate the total in a filter in Vue js
This application Vue calculates totals in a list as below within methods: somaTotal(){ let amounts = this.transactions.map(transaction => transaction.valor); return this.total = amounts…
-
0
votes1
answer105
viewsHow to make two html files work with the same javascript
How do I click a button on an html page, and in the other html page appear something with a single javascript file? example below: HTML 1 <!DOCTYPE html> <html lang="pt-br"> <head>…