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
answer69
viewsHow to change the text according to the image shown on the slide?
Hello. I am beginner in web Development. Follow my question: Although I was able to change the images, I cannot make that along with each image the content inside it is also changed according to the…
-
-2
votes2
answers419
viewsDoubt with a countdown in JS and HTML
I imagine that my doubt is a little silly, but I’m seriously half a day trying to solve this challenge that I proposed and unfortunately I could not, remembering that I am a good beginner. Well, I…
-
-2
votes1
answer42
viewsUse JS to take Hidden out of a div if PHP authorizes login
Good afternoon. I am making a simple login system and I am trying to make a div appear with the message "incorrect user and/or password(s)" if the login is refused. The login system is being done…
-
-2
votes1
answer72
viewsCalculation of quantity of products with error?
I did the part of the calculation of quantity of buying products, in JS, the final result gives error, the total is not multiplied, and continues the same price (129,00). var $input_quantidade =…
-
-2
votes1
answer29
viewsCity and zip code information behaving strange. PHP Mailer, Html
Hello community all right? I have a very strange problem. I have an html form, and a php Mailer program that sends the mapped information. However only 2 fields behave very strange, the fields City…
-
-2
votes1
answer28
viewsmy entry page is 1920x1080 but with a scrool on it
I want to take the scrool out of the page but when I put the position: Fixed it cuts the page and when I put the position: abosolute, gets an equal scrool on the page presented If anyone has the…
-
-2
votes2
answers198
viewsPHP page does not receive data via POST
I’m having a problem, for some reason my script does not receive data from a form, however if I send the form to the same page, it gets. Following form: <form method="POST"…
-
-2
votes3
answers48
viewsHow can I put this image next to the buttons?
I’m a beginner in the area and I need your help. I’m trying to put this image next to the buttons but I’m not getting it. I tried using background-image but it didn’t work. I left my code to see if…
-
-2
votes1
answer185
viewsHow to make text appear and disappear with Jquery
I’m learning html/css/js now, and I’m having a question that’s getting me serious. I am trying to create a button where, when pressed, hide the title (when it is showing) and make it appear again…
-
-2
votes3
answers75
views -
-2
votes2
answers74
viewsproblem in sending php form data to Mysql database
Hello, I am beginner in PDO and in my development of a form I can not send anything to the database and I can not identify the problem in my php form, someone could help me please? FILE…
-
-2
votes1
answer70
viewsHow to create Divs with Specific Images?
What is the best way to create Ivs with the images below using CSS? I would like my dashboard to look exactly like the image you have as an example. I created two classes to try to insert, but the…
-
-2
votes1
answer29
viewsI need to show all day sales MVC C#
Through an input the user enters the date and so list all the respective products of that day public void Buscar(Lancamento lancamento) { string sql = string.Format("SELECT DataHora FROM…
-
-2
votes1
answer39
viewsIs giving javascript conflict
I am trying to create a command by copying what I type into an input in the other, but when there is more than one record it does not perform the function in the first input. Below comes the code:…
-
-2
votes2
answers236
viewsSwap image with onclick - HTML and JS
I am developing a code to change the image when it is clicked, this with several Divs, ids to be exchanged for the same image. I even managed to change the first one, but the rest do not change,…
-
-2
votes1
answer39
viewsLink appears outside the image on the html page
<div class="box"> <a href="https://www.microsoft.com/pt-br/windows/" target="_blank"><img src="img/win.png" alt="" width="150px"></a> </div> <div class="box">…
-
-2
votes1
answer44
viewsHow do I delete and edit database data?
Well, I made a registration system for a video classroom gringa (United States), so I want to be able to edit the data that this system sends to the bank from his code, that is. I want to make a…
-
-2
votes1
answer35
viewsReturn two functions in a JS onclick event
My question is simple, suppose I have a button, when I once click on it I want to run a function as you can see below: function ativar() { var btn = document.getElementsByTagName("button");…
-
-2
votes1
answer44
viewsAdding a Label to an HTML Form
Hello, I was in need of a help to add a label in a "mini" HTML form. I need a label, like : First Name and put next to this form here, on the same line, and when you click the button show selected…
-
-2
votes1
answer497
viewsAngular 8 scroll manipulation
I am developing a component in Angular version 8 and in the html part of the component I am using the following navbar: https://bootsnipp.com/snippets/kl8Q3 but when I try to embed javascript in my…
-
-2
votes1
answer61
viewsMy contact form is coming to destination email as "Undefined"
everything was working perfectly, however, when I fill out the form information and click to send, the email arrives like this: Name: Undefined Email: Undefined Message: Undefined Can anyone help me…
-
-2
votes2
answers630
viewsHow to put a PHP code inside an HTML that is stored in a PHP variable?
I am a beginner in PHP. My intention is to create a variable that will store snippets of a DIV in HTML. However, some excerpts of this HTML contain PHP instructions, and I don’t know how to make…
-
-2
votes1
answer78
viewsMenu with PHP and Mysql
I created a navigation system for my site. See: <nav class="navegacao" id="navegacao"> <ul class="menus"> <li><a href="#">Categoria 1</a></li> <li><a…
-
-2
votes1
answer58
viewsHow to upload content from other files using javascript?
I have a field: <div class="conteudo"></div> . I’m wanting to put the text sequinte inside the content div <p>Conteúdo</p> . To try to achieve this goal I am using the…
-
-2
votes1
answer32
viewsWith regard to React
I have a question about react, i wanted to change the content of the page by clicking, but the site recognizes only as Object. Function import React from 'react'; //funções export function botao2(){…
-
-2
votes2
answers35
viewsHow do I align a <ul> vertically?
I’m trying to make a website and wanted to align a <ul> vertically. align items does not work but Justify content does <main> <nav> <ul class="nav-list"> <li…
-
-2
votes1
answer40
viewsI cannot understand/find the error in php code
I am creating a client registration system and when I run . php it simply appears this error: php code: <?php $login = $_POST['inputEmail']; $senha = MD5($_POST['inputSenha']); $connect =…
-
-2
votes1
answer31
viewsAdd values in the field by pressing the 'enter' key and reset these values with the 'reset' button in Javascript
What do you say? How can I add values in the field by pressing the 'enter' key instead of clicking the 'add' button and how to reset these values within the 'select' button with the 'reset' button…
-
-2
votes1
answer43
viewsHow to search using jquery by TITLE attribute?
I hope this message finds you well. I have a jquery code that performs table searches in real time. This code searches this table for cell values, but I need it to search at the same time for values…
-
-2
votes1
answer60
viewsjQuery Add class to dynamically generated element with click, but only on one of them and click on another, remove from the other elements
Hello, good evening friends, all good? I am studying and developing an All list,after adding an item(<li>) my <ol>, created an eventListener so that when you click on one of the items on…
-
-2
votes2
answers77
viewsI have a ploblema in my JS code
I created an input in HTML, but I need to put the value of this input in a variable. Yes, I have tried using queryselector the getelementbyid and it didn’t work. I want to make a speed system and…
-
-2
votes1
answer130
viewsTag <p> does not break line according to DIV
<div class="row tweet"> <div class="col"> <div class="tweetContainer"> <p id="tweet">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p> </div> <br /> <form>…
-
-2
votes1
answer189
viewsHow to insert an image/picture into a canvas shape
The code fragment below draws a rectangle in the canvas element, and fills it with the blue color. I want to fill with a figure/external image (such as background). Has as? <!DOCTYPE html>…
-
-2
votes1
answer64
viewsHow can anyone help me limit this element as it is in the footer? It is overwriting the header when it appears and I can’t limit it!
<!DOCTYPE html> <html> <head> <style> #banner { position: fixed; left: 10px; height: 300px; width: 110px; padding: 10px 5px; text-align: center; background-color: #fff;…
-
-2
votes1
answer28
viewsThe problem [Object Htmlinputelement] appears in a Function in JS
I’m starting in the html area, so I come here to ask about a problem decorrent in my code: I created an input of type text (where the person will by his name), and for the name of the person to…
-
-2
votes1
answer24
viewsHOW TO MAKE CONTAINER CRUSH UL?
Good afternoon ! How can I make the container hide ul when the checkbox is checked? or how I can do it in another way that is simple, only with CSS * { margin: 0; padding: 0; box-sizing: border-box;…
-
-2
votes1
answer25
viewshow to do how much clicking on the title goes to a full text page
i’m blogging using html,css and php but I don’t know how to do it for when I click on the title of the report be directed to a page with full text, same as the news portals. that when you click on…
-
-2
votes1
answer30
viewsValidation of data with JS but if there is an error remain in the html page and do not proceed to the php page
Good afternoon I would like to know if someone knows how, after making the validations of the data in javascript show the error messages "failed to give the password" etc, or if everything is…
-
-2
votes2
answers76
viewsCreate fields dynamically in js
I’m dynamically creating a select in jquery. When I create select, I query a database table to load the values in select. Load the values correctly, but there is a problem. I’ll put an example of my…
-
-2
votes1
answer30
viewsI need at least one of these fields to be marked
Good afternoon, I need that when filling the data, at least one of these options is put as mandatory marking, I do not have much knowledge in the area, it may be something simple, but I’m catching…
-
-2
votes1
answer99
viewsSeller javascript commission calculation
I’m developing a project and I need to calculate the commission. Example: (by typing the total value of the cervix has to give result of service cost in the second input and in the third input the…
-
-2
votes1
answer24
viewsHow do I place the checkbox next to the label?
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">…
-
-2
votes1
answer21
viewssync slide of scrollbars of different sizes
someone has some insight on how to synchronize the finish of two existing scrollbars of different sizes on separate Ivs? <div id="div1"…
-
-2
votes1
answer38
viewsTypescript function, bring the user response to the screen after clicking
Hello. Guys I have a function where I press 3 color buttons (yellow, blue, black) on my screen, I need that when I click these buttons on a div below appear the colors that he is clicking. So the…
-
-2
votes1
answer32
viewsHow to register the value of an input="text" in the database?
How can I include the value of the name input identificador to be saved in the database, with the code below: <?php require_once "conexao.class.php"; $conexao = new…
-
-2
votes1
answer57
viewsChange field after filling the zip code - Html/Js
Personal have a form with the zip code field it after filling it should jump to the number field automatically. </div> <div class="form-row"> <div class="form-group col-md-2">…
-
-2
votes1
answer37
viewsThe page goes back to the top to each <a> element pressed, how to prevent?
I’m having trouble in a part of the code where every time I press any button, the page goes to the top. I have only a few numbers, but in the future there will be several numbers (anchor elements)…
-
-2
votes1
answer32
viewsHow to change the layout of Radio Buttons in the responsive layout with Bootstrap or another tool?
Currently when the site is in mobile mode/reduced to a certain resolution the Radio Buttons automatically position themselves as follows: I’d like it to look something like this: Part of the HTML…
-
-2
votes1
answer95
viewsHow to sum several numbers of various inputs in php
At this moment I am attending the 12th Year of a course in Applied Computer to the Web and needed help. My goal is to build a website page that allows the user the following: Enter the number of…
-
-2
votes1
answer50
viewsHow to make a function that "calls" an html
I’m improving on html and Javascript while creating my own project. I don’t know if my question is correct, but I’ll be explaining it in the best way. I’m creating a tool to help combat turns in…