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
answer1021
viewsMy Form does not send
I made a form to send contact data (name, email, subject and message). <form name="contactForm" id="form-contato" method="post"> <fieldset> <div class="form-field"> <input…
-
0
votes1
answer66
viewsChart display on page
I have this chart with the following query to the database: <html> <head> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script…
-
0
votes0
answers231
viewsSelect2 with incorrect styling
I’m using a Lect2, but its style is coming in a way that wasn’t expected. That way: How I make it fit and align with the input-group? HTML code: <div class="form-row"> <label…
-
0
votes3
answers645
viewsFormat date coming from SQL SERVER Database
The date that comes from SQL SERVER comes in the format like this: 20181212. I tried to format, but it only works if it comes in 2018-12-12 format. I place this date inside a table by API I pull…
-
0
votes1
answer79
viewsProblems alignment dropdown menu
I have a menu dropdown in Wordpress in the tab of Services, only when I resize the page with zoom, the menu is not following its parent element, Follows image and code. ul.sub-menu { display: none;…
-
0
votes2
answers230
viewsbecause the Hover does not overlap the div
I have a problem I think very simple. But I’ve done everything and nothing solves, as you can see in the print div who is with the hover she doesn’t stand on top of the div pai…
-
0
votes1
answer39
viewsIs there a way to use a non Form-Associated element as a natural associate?
In the HTML, there are the elements 'Form-Associated', which are elements that are associated with form which are inside, like the input for example. Good, but even if it’s unusual, if in a certain…
-
0
votes0
answers41
viewsSend form to E-mail
<form method="post" action="phpmailer.php"> <input type="text" placeholder="Nome" name="nome"> <input type="email" placeholder="E-mail" name="email"> <button…
-
0
votes0
answers31
viewsAjax (Angularjs) returning HTML from the page itself
I am using Codeigniter to retrieve the database data. Controller: <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { public function…
-
0
votes1
answer46
viewsCan including files and repeating <html> and <body> tags cause problems?
Assuming I have a file called home.php and he’s got the following codes: <html> <head> <p>Head do home.php</p> </head> <body> <span>Body do…
-
0
votes1
answer207
viewshow to block an action in a form
I have a form and it runs a action, but I have a query to check if there are users in the database. I wanted to know how to block the action when there are users. Form: <form onsubmit="return…
-
0
votes1
answer61
viewsPHP-File uploaded does not go to the directory defined
$arquivocom = $_FILES['submetidocom']['name']; $diretoriocom = "C:/Users/NEWGRID/Documents/uploadcom/"; move_uploaded_file($_FILES['submetidocom']['tmp_name'], $diretoriocom.$arquivocom); if…
-
0
votes1
answer144
viewsLoop php in an HTML class
Let’s assume that I have a div inside a foreach and inside that div I have another div with an x class, but I would like that x class to be numbered with each repetition, there is this possibility?…
-
0
votes2
answers361
viewsHow to make input values appear in json?
then I am doubtful here, it would be possible to make the input fields I have play what I typed in a JSON? EX: this would be the form <form role="form" method="post" id="searches"…
-
0
votes1
answer195
viewsCreate combo with months to filter in the calendar
I want to create a filter per month in the calendar. Code: <!DOCTYPE HTML> <html lang="pt-pt"> <head> <meta charset="UTF-8"> <title>Registo Refeições</title>…
-
0
votes1
answer277
viewsHow to print the result of a php function from another page?
You can tell me how to finish this project, with this code below I managed to define the message that will appear from the number entered by the user given by the administrator <form…
-
0
votes1
answer26
viewsdo not remove if first line html java
good. with this code I can add and remove lines but I’m having a hard time locking the first one so it won’t be deleted. how can I do? var table = $( '#table-data' )[0]; $( table ).delegate(…
-
0
votes1
answer1485
viewsCenter images side by side
I would like to center these two images side by side, but on a small screen the bottom is very close to the top image <script…
-
0
votes1
answer60
viewsMake facebook widget responsive
I have a div that is put news, and in the laterial of this div, has the widget facebook, wanted his size to be responsive, IE, his height was the same as the news div My current html: <div…
-
0
votes1
answer70
viewsMy form does not send to the bank
I created a form to save data in the database Mysql, but it’s not working as expected. I’m having trouble identifying the problem because no error appears, the page just a refresh. Table in the…
-
0
votes2
answers60
viewsHow to bring a result from a . php page to another . php page using javascript?
The code below is working very well, but it shows the result in his page Submit.php. <?php // submit.php echo $CODNOME; if($_POST['CODNOME'] == "001"){ $msg = "mensagem1"; } else…
-
0
votes1
answer36
viewsHide Ivs when mouse is out?
I have a code so structured <?php $p=0; $delay=0; while($p<=16){ $p++; $delay+=0.2; ?> <div class="column wow fadeInDown" onmouseout="outside(<?=$p; ?>)"…
-
0
votes1
answer55
viewsDoubt fwrite writing in the file
Talk guys, I have a problem writing to a file using fwrite, I can create the file normally but at the time of writing I get the following error: Parse error: syntax error, unexpected ''…
-
0
votes0
answers200
viewsHow I can create a rectangle with Java Script
I am trying to create a rectangle using Javascript, avoiding using the functions of the canvas as moveto and drawto. However my rectangle does not look good. Follows the code: function retangulo(x1,…
-
0
votes1
answer36
viewsTurn a search into a field that dials when clicking on a mobile phone
I am developing a site with registration of local companies in PHP and Mysql with name, address and phone, so far so good, I am locked in the item where when they do a search on the site the result…
-
0
votes0
answers85
views -
0
votes0
answers453
viewsExport HTML Table Image to EXCEL or PDF
I have an HTML table, in the last column an image is displayed (JPEG, PNG). Is it possible to export this table to EXCEL or PDF with the image? I used Datatables to do a test, however, the image is…
-
0
votes0
answers437
viewsBootstrap Tab Responsive
I have some tabs and want to leave responsive. I found an example in codepen, using version 3.3 of Bootstrap. In the project I’m fixing, they used the 4.0.0-alpha-6. NOTE: DISPLAY WITH SCREEN LESS…
-
0
votes1
answer352
viewsHTML Image Base64 in emails
I have a python API that sends emails. The problem is that I mount an HTML and tag <img> and I put a clothesline from Base64 which is the src. However 90% of email services do not accept…
-
0
votes1
answer35
viewsHTML <TEMPLATE> Tag for code blocks repeats
In a document .PHP I have a piece of .HTML over 20 DIV practically identical (see below the code). I wanted a way to declare a DIV "repeats" only once and where necessary to repeat it throughout the…
-
0
votes1
answer214
viewsRadio button is not passing value
I use 3 radio Buttons to select the input voltage of an equipment (110V, 220V or Automatic). If I put only 2 radio Buttons, both work normally. If I put 3, the first one doesn’t work properly. He…
-
0
votes1
answer35
viewsASP.NET RAZOR - Project WEBSITE running on IIS (Approval or Production) does not include TAG HEAD
I have a problem in my WEB project , which when running by an IIS from a server, the tag html HEAD does not appear closed and when executed locally it appears correctly. Detail, when inspecting…
-
0
votes2
answers2005
viewsHow not to lose the form fields, after validation with PHP
This question differs from the existing questions: How to persist/fill in form data via PHP? and How to pass a value to next page with PHP because my form has between 50 and 100 fields, and…
-
0
votes1
answer21
viewsError editing record in DB
Hi, I’m having trouble editar a record: Follows View _form.html.erb <%= form_with(model: cliente, local: true) do |form| %> <% if cliente.errors.any? %> <div…
-
0
votes1
answer71
viewsHow to filter another page result with Jquery Load() or Get()?
In an HTML have for example: <fieldset> <div> <h3 class="title title-line">Dados da conta</h3> </div> <div class="ch-form-row"> <label>Usuário</label>…
-
0
votes1
answer81
viewsHow to edit something saved in the Python database
I need to search a student by name or Cpf that is saved in the database and recover this same student in a form to be able to edit it and later be saving again. I am using Django as a framework. I…
-
0
votes1
answer1853
viewsHow to select a specific tab by clicking the button
I have a page that turns a list <ul> in flaps with jQuery, and on the first page I need a button to redirect to the next tab, without needing the user to click with the mouse. I’ve tried with…
-
0
votes1
answer524
viewsHow to close a modal by pressing the "ENTER" key
How can I close a modal in bootstrap using the enter key: the code I’m using is as follows:: <div class="modal fade" id="succes-action" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"…
-
0
votes1
answer966
viewsDelete from localStorage
I’m a beginner in the js area and I’m developing a code that stores the data in a table and saves in localStorage, I need that when I click the delete button that appears in this table, the line is…
-
0
votes2
answers366
viewsOpen Poup-Up - Help
I have the following HTML, but all on the same page id entree is where it takes my input field from the address typed arrival is where he gets his final address outworking is the calculation:…
-
0
votes1
answer721
viewsvideo open in javascript
Personal I am layman in this area. I would like to know how I can this playing this url https://ns5001921.ip-192-99-16.net/Uploads/Animes/1/2x2-shinobuden/01.mp4 in this javascript file // SISTEMA…
-
0
votes1
answer2303
viewsbackground image does not go out in print (using window.print)
I need to print a page that has a background image as background, a Dagua logo. But using window.print() the background does not appear in the image (unless the user marks "background Graphics" on…
-
0
votes1
answer252
views -
0
votes1
answer376
viewsC# how to send an email containing a hyperlink using System.Net.Mail?
I created a class for sending emails using the System.Net.Mail library. To send the message format in HTML. The message I am sending is as follows:: <div style="display: block; margin-left: auto;…
-
0
votes1
answer40
viewsFix Bug of a simple Jquery function
Hello! I’m having a little problem regarding bugs on a site I’m setting up, where when the interface opens, a function JQuery which was made to replace the navbar logo by a larger one is not being…
-
0
votes0
answers573
viewsInsert link streaming in page - HTML
So, I’m trying to implement a link streaming "rtmp" to an html page, but without success, I’ve tried several mode but none that effect surtisse, the link below and what I want to be displayed in…
-
0
votes0
answers255
views -
0
votes3
answers5235
viewspass 2 parameters in button Onclick event
I have the following code that I would like to pass the ID txtCodEmpreendedor and txtName of the fields below as parameter for the event Preening(); <script> function…
-
0
votes0
answers17
viewsIncompatibility Browser Edge Updatepanel
I have an Updatepanel, which works perfectly, in Chrome browsers and firefox, it does not update the page, when I change something in the combobox, but in the EDGE browser it updates, I have tried…
-
0
votes1
answer1572
viewsProblem with Mascara Currency and I calculate
I have a function that is called here: $("#valorPrimeiroPedido").focusout(function () { var valor = $("#valorPrimeiroPedido").val(); calcularValorMercadoria(valor); });…