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
votes2
answers160
viewserror when registering in the bank
The following error message is appearing: Notice: Undefined index: razao_social in C:\xampp2\htdocs\estudo\cadastroPrestador.php on line 5 Notice: Undefined index: nome_fantasia in…
-
0
votes5
answers280
viewsBreaking lines in a date attribute when displaying in front-end
Within a table I have the following structure: <td> <a href="#" data-toggle="popover" title="Dados" data-trigger="focus" data-content=" <?php echo $BlobParams[0].'<br>'; echo…
-
0
votes1
answer63
viewsI need to make a shape with css and I can’t. And rotation doesn’t work on IE11
Talk guys, is it okay with you? (I hope and wish you) I’m starting a new personal project, and I’m getting my ass kicked with two questions: 1 - The set of menus is rotated, while the central logo…
-
0
votes2
answers26
viewsHow to organize DB information printed on the page
I created a panel, where I want to show the information that is in db, these are printed on the screen through the code: <?php $servidor = "localhost"; $usuario = "root"; $senha = ""; $dbname =…
-
0
votes1
answer57
viewsDifferent image and responsive text alignments
I’m wearing bootstrap. After the image of the car, bugged all my mind. How do I make this alignment of the images and texts under the cart and responsive? <html> <body> <div…
-
0
votes1
answer50
viewsValidation using JS
good afternoon friends ! I am trying to make my form validate a field for testing, but it is not responding to validation of nulls by JS. Follow the code on the snippet: function Validacao() { if…
-
0
votes1
answer60
viewsDropdown does not work with responsiveness (Bootstrap)
Good afternoon, in the code below that I did, when I call the dropdown with the responsive page, it goes back and forth, it does not remain "open/down", I saw that could be the order of imports, I…
-
0
votes0
answers68
viewsChange create.objectURL to Htmlmediaelement.srcObject
When adding the createObjectURL class, it is accusing the failed error in some browsers, after searching, I found that I can use Htmlmediaelement. But how can I include you in my project? export…
-
0
votes1
answer90
viewsHow to mark a specific Checkboxlist item with jquery
I have seen several examples of how to mark and unmark all, but I have not seen how to mark a specific, see: <asp:CheckBoxList ID="ChkAcoesListarGrupo" runat="server" RepeatDirection="Horizontal"…
-
0
votes2
answers134
viewsCounter and calculation in javascript
I need to take a value and divide by the amount entered in the input <h2 class="m-b-0 text-white font-weight-normal" id="valortotal">R$ 4.000,00</h2></div> Take this value and…
-
0
votes1
answer57
viewsError sending form by pressing Enter - PHP
good evening. I’m having a problem submitting a form, typing Enter returns the error: php’s "Undefined Index". However, if I click the Login button, it normally submits. < script type =…
-
0
votes2
answers83
viewsForm to change value in the database
I have it in the database I wanted a form that by clicking the button Enviar change the value of pontos user selected. But for now I only have this, I do not know how to make the code in PHP.…
-
0
votes2
answers263
viewsForm Validation - Step by Step (Javascript)
I am making a form based on this template: https://colorlib.com/etc/bwiz/colorlib-wizard-22/index.html But I need the validation to be done for the fields! You cannot go to the next STEP until this…
-
0
votes2
answers453
viewsCreating HTML with Jquery and Json
I want to take JSON’s exit from the page select.php and place each line in a <div id="estabelecimento"> with your attributes, I’m doing it this way: $.getJSON('select.php', function(data) {…
-
0
votes1
answer886
viewsGrab id of the button clicked on Angular
I have several buttons with the same function and try to get the last id clicked, but always only one id comes. HTML: <div class="container"> <div class="row"> <div class="col-sm">…
-
0
votes1
answer241
viewsinfinite slide with css and html
My slide doesn’t want to be moving around endlessly: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <style> body { background:#000000; } *{ margin: 0px;…
-
0
votes1
answer78
views -
0
votes1
answer131
viewsAutomatically generate date sequence within input
How can I generate a sequence of dates and place each date inside inputs( INPUTS ALREADY EXIST INSIDE A FORM) from the initial and final date automatically? I place the initial and final date and…
-
0
votes2
answers143
viewsI want to Take the Result of a Select to use in Javascript
I’m wanting to take the option chosen by the person and simply print on the screen (it’s just the basics, to then do what I really want), so I don’t know how to do it. The part of the HTML code that…
-
0
votes1
answer319
viewsIonic 3 Property 'value' does not exist on type 'Htmlelement'
I’m developing my first App using Ionic 3, and since I don’t have much experience in Typescript, I added jQuery to the project to perform functions such as enabling and disabling a textarea, or…
-
0
votes2
answers98
viewsDoubt regarding Modal Bootstrap
I inserted a Modal in my HTML, however, for some reason apparently it is stuck in some part of the code , I can visualize the modal, but I can’t perform actions inside it , code and print below:…
-
0
votes1
answer102
viewsHow to hide a menu by clicking on another in JS?
I can’t get when one menu opens the other to close. I tried the following code: const itemLinks = document.querySelectorAll('.header-item') const menus = document.querySelectorAll('.nav-menu')…
-
0
votes0
answers50
viewsBug of Blur in input
because my css when I add the following snippet of code into my input happens this: #container-header{ height: 50px; width: 100%; background: #252525; position: fixed; top: 100%; transform:…
-
0
votes2
answers320
viewsHow you use the keyup in a specific input
I have made a javascript to verify passwords (forte/normal/fra ca) the problem is that using the keyup in javascript every time a input receives value the password level is changed, need to make the…
-
0
votes1
answer381
viewsHow to close modal by clicking on X?
I have a modal that opens when the mouse leaves the page. The problem is that when I try to close on X, she doesn’t close: <!DOCTYPE html> <html lang="en"…
-
0
votes1
answer53
viewsToggle menu when I click on menu one it shows me item two
const itemLinks = document.querySelectorAll('.header-item') const navHeader = document.querySelectorAll('.nav-menu') for (let i = 0; i <…
-
0
votes1
answer97
viewsBlank email with PHP
I made a short form to test the mail function, the email is being sent but arrives with the name and message fields blank. I saw other forums and they indicate other libraries but wanted to know…
-
0
votes3
answers24130
viewsHTML button go to link
Hello, I’m a beginner and I would like to know how to redirect this button(Sign) to enable terms of use for some link. <div class="modal-body"> <!--botão termos de uso--> <script>…
-
0
votes1
answer50
viewsProblem sending a file by POST
The following code that I present to you right below is to upload a file ". CSV" and send the data to Mysql, but the post method is not sending anything to the function . PHP, and I get the message…
-
0
votes2
answers539
viewsIncomplete Whatsapp API message
Good afternoon, I am developing a website and in it has a button to share a message to a certain contact, the problem is that this message is appearing incomplete. I used the Inspect Element on the…
-
0
votes1
answer131
viewsCreate tag select by checking Jquery Checkbox
I don’t know if what I’m thinking is viable. I have a form that dynamically creates several checkboxes with the dates of the month. However, I need when the user checks one of these dates to create…
-
0
votes1
answer149
viewsCall a Section tag without displaying the ID in the URL
I wonder if there’s a way I could call one id of a Section HTML without displaying for example in the URL a #id, follows a print below to help in understanding I’d like to call the tag Section Sobre…
-
0
votes0
answers48
viewsContent of the <head> tag is in the <body> when I test the site
@EDIT SOLUTION ==  - This error appears between the <body> and gives space difference I have that code: <html lang="en"> <head> <link rel="icon" href="<?php echo…
-
0
votes1
answer44
viewsProblem in Form with Ajax and Codeigniter
Good night, I am using Codeigniter 3.1.9 on my default server. I have a form that is below. In the case , I can’t let the State stay in a Select and the City update itself with ajax according to the…
-
0
votes0
answers80
viewsText is not inside the div
I am doing float in html, but I had a problem typed a random text and the text did not fit inside the div, which could be, if I type something should not be inside my div ? <!DOCTYPE html>…
-
0
votes1
answer153
viewsProblem when displaying div by clicking radio button and other div
I have a problem and I would like the help of friends: On an item choice page I would like to make appear a div that is occult when I select the radio button option. It works ok by clicking directly…
-
0
votes0
answers23
viewsError making request without refresh in database
Guys, I’m making a system that when searching the name of an access in the search field, it searches in the database some word referring to what the user wrote in the input... I followed a youtube…
-
0
votes1
answer60
viewsHow to make a UL center horizontally and vertically on a Nav?
*{margin: 0; padding: 0;} nav{ width: 100%; height: 100px; background:gy;margin: 0 auto;text-align: center;background: rgba(0,0,0, 0.6);} nav ul{list-style: none; } nav ul li {display:…
-
0
votes0
answers167
viewsSimple Quotes - Bugando input / POST
When I insert into the <input> COMMENT ON A POST a single quote. ', he makes the whole row existing comment, if I put two quotes, '', he returns only one ('), if I put 3, it all goes away and…
-
0
votes1
answer379
viewsBlock weekends in the Angular Material datepicker
I am using the Datepicker of Angular Material and need to block Saturdays and Sundays in order not to be selected. How can I do this ? Code: ts import {Component} from '@angular/core'; /** @title…
-
0
votes1
answer16
viewsMedia querie in order to change the image does not work
I put a media querie for when width reaches 600px, change the image to a smaller. @media only screen and(max-width: 600px) { .header-container { background-image: url(//i.imgur.com/obpnQqo.png);…
-
0
votes1
answer602
viewsUnwanted white space bringing the horizontal scroll bar to life by decreasing the screen
When resizing the screen, there comes a time when a blank space is being generated in the corner of the screen, starting to do something with grid and trying to make it responsive, I must add media…
-
0
votes1
answer27
viewsrecovering array with PDO
I have a problem that I’ve been through before but I can’t remember how I solved it. The goal is to compare two tables of the database and return only the corresponding values between the two, in my…
-
0
votes2
answers295
viewsNesting a flat PHP array to generate an HTML menu and submenus
I have an array like this: Array ( [38] => Array ( [name] => Categoria Raiz 1 [link] => https://... [id_parent] => 0 ) [205] => Array ( [name] => Subcategoria 1 [link] =>…
-
0
votes1
answer1727
viewsAdd dynamic id with Javascript
Appeared the need for me to create a view I need to add inputs through a button, where the user will enter the name of the field he wants to add, this name will appear in a label on top of the…
-
0
votes2
answers746
viewsCompare value of two fields with jquery
I have a problem comparing values of two fields input. I want an action to happen if the value being inserted is less than the value of the input occult. Imagine that the value of the previous one…
-
0
votes1
answer91
viewsOpen Mysql data on another page
I started working on Mysql a little while ago and I have a little problem and I don’t know how to fix it. If anyone can help me I appreciate it. I have a book site that shows the photo of the book…
-
0
votes1
answer254
viewsI need to prevent direct access (on a second page) in php
The question is a little confusing, but I’ll try to explain it as best I can. I have an apache2 server running on linux (Raspbian Stretch Lite) with php7.0 and the necessary mods. On the server has…
-
0
votes1
answer42
viewsPass parameters
I am developing a system and I need to create an on/off button to update information in the database, but I need to pass the parameter ID by clicking the button to do the update, basically the…
-
0
votes1
answer142
viewsHighlight open anchor div from the same page
I have a page with several links that go in certain points of the same HTML page, however, besides going to the location of the id I wanted to highlight this id by changing the background or adding…