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
-
1
votes1
answer118
viewsHow to specify an address that is outside a set of div
I made a menu with 'Hover' effect but I want to change the color of the gray bar of the menu by touching the cursor on the "Search and News" buttons but I do not know how to specify the address .…
-
1
votes1
answer32
viewsSeparation of Tabs
I performed the separation in Tabs of two sections, however they are not divided and end up leaving in the same separation, regardless of which separation I click. I’d like you to stay on screen,…
-
1
votes2
answers89
viewsHow to search for the selected value in Mysql/PHP and HTML?
Good afternoon! How to make one SELECTreturn the result only to the value completed in the form HTML? For example, if someone fills in the TRIP field that returns all the values that contain the…
-
1
votes1
answer279
views -
1
votes2
answers922
viewsKeep Hover on a button after taking the mouse out
How to maintain the Hover effect after taking the mouse off the button? The code below has this function, but just by clicking, I’m very new to it, but I’m learning. var header =…
-
1
votes1
answer876
viewsClose modal by clicking outside
I have a modal that when I click out of it I would like it to close. For reasons of position problems, I’m using data-backdrop=false My modal: <div class="bd-example"> <button type="button"…
-
1
votes1
answer693
viewsI can’t load data into an angular mat-select 6
This is my html <div class="container"> <form [formGroup]="createForm" (ngSubmit)="onPostCreateTypeFields()" style="width:400px; margin: 0 auto;"> <h1>Fields</h1> <div…
-
1
votes1
answer127
viewsChanging the Output of a <form> - Redirect to Another Upload Page
Hello, I have a form and I’d like to know how to change his results. Example: both when the form is successfully completed and when an error occurs it redirects to a page of my choice. I’m using the…
-
1
votes2
answers2436
viewsHow to remove DIV specifies with javascript?
Hello I have a registration screen of academic information; I need that field can be duplicated and removed, but when I remove only the first DIV and deleted; I use the javascrip below, when the…
-
1
votes1
answer135
viewsTurn div’s into input and validate them in a form
I have a div with the attribute contenteditable="true", which opens the text box so that we can write directly in the div, right, so far so good, just like, I wanted to use this div as an input in a…
-
1
votes1
answer400
viewsHow to calculate and display the result of an operation, taking the data from a form, and sending the answer on the same page below the form?
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Calc PHP</title> </head> <body> …
-
1
votes1
answer643
viewsCall delete at angle 6
I have this HTML <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <table class="table table-striped table-bordered table-hover"> <caption>Lista…
-
1
votes1
answer249
viewsJavascript Onclick function In conflict with the form?
I have a form that sends data to another page, I would like to reset some inputs after sending the form: <form name='protocolo' id='protocolo' class='excluirclienteform'…
-
1
votes1
answer126
viewsBack to top button is not overwriting the footer
I have the following problem, I created a button back to the top, positioned it in the lower right corner and gave a position:fixed in it. I’m making use of jQuery library. The problem occurred when…
-
1
votes1
answer109
viewsHow to make a condition with mysql php number
Hi I’m doing like a virtual bank in one part has to make the deposit, the user has the wallet money for example. I have 500 real in my wallet but if I put any value over 500 it deposits into the…
-
1
votes1
answer33
viewsjQuery function for selecting values in Divs and playing for an array
I’m taking the values of several <div>s with the same class name and trying to play for an array in jQuery, but as I’m starting in the language I’m not getting, I’ve already searched the…
-
1
votes0
answers20
viewsUpdate(Put) on my project does not write to BD(Mongodb)
I need to make an editing screen and I’m not getting it. See how my Component is doing(I’ve eliminated Imports to save space) @Component({ selector: 'app-operators', templateUrl:…
-
1
votes0
answers60
viewsDetermine Bootstrap column width when detecting overflow in div
Currently the distribution of Boostrap columns is fixed in size 2, example: col-lg-2, but inside that column is a <ul> with several <li>, and when overflow occurs to <ul> is…
-
1
votes1
answer200
viewsHover mouse - image descend effect
How can I make an effect by hovering the mouse over the image, scrolling a box below that image? Ps: similar to MENU when hovering the mouse <a target="_blank" href="cadastro" ><img…
-
1
votes1
answer1816
viewsSpace between HTML tags
I’m a beginner in HTML and CSS development, and I’m having a hard time understanding why between html tags is a space. As in the following example where I have a header, a div and a footer with…
-
1
votes1
answer80
views -
1
votes2
answers32
viewsDoubt about how to add a border to this line
Talk good guys I’m a few hours and could not add the border tag on this line anyone could help me? <tr style="font-size: 12px;text-align: center" onclick="window.location = \''.$LINK.'/show/' .…
-
1
votes2
answers56
viewsdoubts about php authentication
When I take the test of login, I’m going to autenticar.php, but the screen is blank instead of directing to the main page. msql and php command tested and working) <script…
-
1
votes0
answers68
viewsStreamline HTML with JQUERY
Hello, I’m having difficulties in a JS activity, I must make the last publication should be displayed first, already tried Sort, tried Sort with Function and nothing resolves, I can change the order…
-
1
votes4
answers480
viewsAlign text vertically to an image
I have two text sections on each side with an image in the middle,and I want to align the text sections vertically with the middle of the image how do I do? Thank you <div class="fourth">…
-
1
votes1
answer100
viewsFunction loop returns only one value
I’m trying to get data from an online page only the code is presenting a problem, it can not process all items in the way POST, within the foreach. Even if I put the items in list only takes the…
-
1
votes1
answer30
viewsHow do I put an image in place of the black button? Example: a coin?
document.getElementById("bcen").style.width = "300px"; //Size document.getElementById("bcen").style.height = "300px"; //Size …
-
1
votes3
answers1188
viewsAlign button at the end of table
I have this table <div class="container"> <div class="row"> <div class="col-md-12"> <table class="table table-striped table-bordered"> <caption>Lista de Tipo de…
-
1
votes1
answer207
viewsHow to put a script inside another script
This code is to replace the contents of a div, and I need to add this script inside the code but I’m not getting it. window.onload = function substituir() { document.getElementById("fgh").innerHTML…
-
1
votes1
answer62
viewsHow to improve the formatting of information within my Div?
Gentlemen, I need to format my Div according to the image attached below, with Meta information about Div, etc. Currently my code is breaking this information into lines, as attached image. Follow…
-
1
votes1
answer22
viewsDoubt Syntax error in PHP / jQuery function
I’m consuming a Webservice on a client’s website. i get the url return, filter the way I need, to display only the championships on condition: "SEX : M ""MODALITY : 2""CATEGORY : 4" Being all true,…
-
1
votes1
answer337
viewsIF condition with database
Guys I’m making a money transfer system via php with database, I have an option showing all database users and a text field to enter a value, how I do so that the user can not select himself and…
-
1
votes1
answer849
viewsPrevent duplicate registration with C#
I’m having a hard time with the duplicity record. How do I so that after the user fills in the form, at the time of saving, the data is compared to what is in the database, if he has any repeated…
-
1
votes0
answers90
viewsAjax/Json POST treatment
I’m having trouble sending Json to my PHP Controller: See, when sending my Login the parameters that are being sent in the request are exposed, thus being a vulnerability. My question is whether I…
-
1
votes1
answer59
viewsDoubt how to separate returned items from a web service
I have a site in Wordpress and in it I am consuming a Web Service, I created a function to filter the championships based on some information: Sex : M Modality : 2 Category : 4 If they are all true,…
-
1
votes0
answers64
viewsHow do I perform/work the call through the AJAX url?
To put it in context: There is a remote directory, clearing-dit\logs, which has a number of logs (portal.log, test.log, ...). This directory, is mapped to an HTML page, where all of its .log's are…
-
1
votes1
answer67
viewsDynamic combobox
I got these two selects: <td> <strong><label for="Valência">Valência</label></strong> <select id="Valencia" name="Valencia" style="width:150px">…
-
1
votes2
answers37
viewshasFocus() verification in <a> tag
Hello, good afternoon :) I have the following HTML code: <section class="sectionQuemSomos"> <a class="iconQuemSomos" id="QuemSomos"> <img class="img-fluid" style="height: 80px"…
-
1
votes1
answer48
viewsFailed to Replace ID with PHP Team Name
I am consuming a web service in php, I created a function to compare championships and return me the id of the teams that will play or will play, in another url, I have the name of the teams and the…
-
1
votes1
answer1341
views -
1
votes1
answer187
viewsAlign lists of different sizes in Bootstrap div
I have some lists that are fed through a query to the database, IE, the amount that will show is uncertain, but I limit show up to 5 records per category. How are you: One list is occupying the…
-
1
votes1
answer1224
viewsIs it possible to place the contents of a "Thymeleaf object" inside a "variable", in HTML?
To put it in context: I have a "log" object, which was declared on an HTML page through Thymeleaf: <html xmlns:th="http://www.thymeleaf.org" th:include="layout :: page"> ... <form…
-
1
votes2
answers843
viewsRandom colors on buttons
I would like my buttons to change color every time the page is updated. I made some java code script that is not working and would like help to identify my mistake. <script> let r =…
-
1
votes1
answer45
viewsHeader does not get responsive in 320PX using Flexbox
I am starting to use flexbox but I have a giant problem that I cannot solve in several layouts. Both the header and Nav and li are hidden in the Mobile Solution, Iphone 320x568 and there is a white…
-
1
votes1
answer214
viewsHow do I make the onclick event work on a button where Parent already has an onlick?
I have a div father who in it occurs an event onclick in div but within that div I want to have an element that also has an event onclick that is triggered without triggering the onclick of div…
-
1
votes1
answer2134
viewsInclude CSS when generating a PDF using PHP’s MPDF class
Good morning! I need to generate a report, in this report I have some CSS for better organization. I can generate the PDF, but the styles are not loaded next to the HTML. I’ve tried to put the CSS…
-
1
votes1
answer520
viewsRecaptcha error returns an error in file_get_contents
Hello guys, I’m having this problem with the recaptcha on a system implemented in PHP, the code below as this the code. Recaptcha in HTML is like this, I decided to leave this script there also for…
-
1
votes1
answer47
viewsTable with mobile/tablet resolution spacing
Developing an email marketing, I came across spacings (of approximately 1px) that appear between the columns but this spacing only appears in resolutions smaller than 980px. The code was generated…
-
1
votes1
answer138
viewsVertical scroll bar
My site has a scroll bar just below Footer. #main { display: -ms-grid; display: grid; grid-template-areas: "header header" "nav nav" "content aside" "footer footer" "privacidade privacidade"; }…
-
1
votes1
answer71
viewsTable header with Mysql query
doesn’t bring what I want, someone can tell me what I’m missing by looking at the code? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />…