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
answer312
viewsAngular - How to pull a request from another page
I was studying angular and wanted to pull the information out of the main page, but I’m not able to pull the javascript from the outside. repeat page.html: <!DOCTYPE html> <html>…
-
0
votes1
answer1587
viewsHow do I place an image that will scroll over the background and under the texo?
I’m learning HTML alone (doing research and free courses on the internet), I came across the following problem: I have a background image that was correctly applied, but I am not able to add another…
-
0
votes1
answer1656
viewsimg no trim using Thymeleaf, spring boot (with Maven)
The image I want to add is in the following directory: /src/main/resources/static/images/logo.png And the HTML tag looks like this: <img width="220px" height="70px"…
-
0
votes2
answers792
viewsProblem in Bootstrap Directory
I’m having a problem where when I try to access Bootstrap directly from the directory folder CSS does not work and only remains a few things, but when I Linko the Bootstrap page it works.…
-
0
votes2
answers943
views -
0
votes2
answers1149
viewsHow to update a select in html with javascript
I’m new to development and I need help. I have a select in html that I need updated when selected from another select. Follows html code: $(document).ready(function () {…
-
0
votes2
answers1179
views.htaccess change extensions . php and . html automatically?
I’m using my htaccess like this # Hide .html or .php extension ## External Redirect RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC] RewriteRule ^ %1 [R,NC] ## ## Internal Redirect…
-
0
votes1
answer76
viewsHow can I fetch an html file from my server and embed it into a client page?
I developed a chat, to implement it is necessary to add on the page of the client a . js (So the client does not have the job of creating the markup on his site, just import the js and ready, like…
-
0
votes3
answers839
viewsGRID bootstrap system - col-Xs-X does not recognize width
I am studying bootstrap, and when formulating the GRID system a col recognizes the values LG, MD, SM, but does not recognize the requested XS. When I resize the browser to mobile size it always puts…
-
0
votes2
answers75
viewsForm data is not registered in the database
Guys help me. Next: I have here an html form which I send the form data to an email through the action. Only, before sending it to the email I want that same data to be entered in the database. For…
-
0
votes1
answer1278
viewscss Hover in a table with rowspan
Table - Example table, th, td { border: 1px solid black; } tr:hover { background-color:coral; } <table> <tr> <th>Col 1</th> <th>Col 2</th> <th>Col…
-
0
votes2
answers254
viewsAssign a variable the value of a click on an image, to make a comparison
I had made this game using textbox, and everything worked ok, but I decided to make a modification and instead of typing put respective images to the jokenpô and the image that the user click will…
-
0
votes1
answer156
viewsInput added with . append() does not send POST data
The script below adds groups of fields in a form. So far ok. Fields are added but when I send the form I only receive data from fixed inputs, which are added dynamically are not received. Code:…
-
0
votes0
answers962
viewsHow to allow login into the system validating user and password by php database?
Next guys: I have an html form where I take this data and send it to a php action where the data is processed and sent to the database. This part is ok, the data goes right and everything. Now I…
-
0
votes1
answer137
viewsApply CSS to a line
At the moment it’s this way like the code below, but I wanted the inputs related to fields Crachá, Pessoa, e Nome were aligned within a <div class='col-lg-12'>. But when you put the button to…
-
0
votes1
answer496
viewsShow code in textarea
What I intend is to show on my web site within a text area code php html and etc but whenever I try to do it runs the code and I want it to show within a text area and other system any accuracy as…
-
0
votes1
answer2236
viewsHow to center a title in the header using class attributes?
I started to study Bootstrap now and I’m having trouble understanding and modifying the codes in CSS of the folder I downloaded on their website, so it would be easier to edit on the HTML I need to…
-
0
votes0
answers17
viewsNeither variable nor field appear after selected
I have a SELECT that depends on another SELECT to bring the values. However, after selecting the second select, although the url contains the desired value, the field disappears. $bandorc =…
-
0
votes1
answer1312
viewsHow to call a function from a.js file in index.php itself in the script
I wonder how, I call a function of a file x.js, on a page x.html x.php whatever it takes. Example: x.js file: function myFunction(img){ // Faz algo } index.php file: <!DOCTYPE html> <html…
-
0
votes1
answer412
viewsAfter using . innerHTML to fill a DIV, how to clear that div with another function?
I have the following code, var resultado; var numero; var tamanhoNumero; var i=0; function calcular(){ numero = document.form.numero.value; console.log(numero); tamanhoNumero = numero.length;…
-
0
votes2
answers248
viewsText overflow in jQuery modal and Bootstrap
Good afternoon, I have a function in jQuery to know the number of characters in a given element and needed when more than 300 characters appear the text "see more" and opened the modal with all the…
-
0
votes2
answers146
views"mouseout" of a div father is fired when the cursor is on a div daughter
I’m using the function .mouseover() and .mouseout(). Both work but I have a problem. The code below is what I’m using for this purpose. The effect always does the animation of <div>: both…
-
0
votes1
answer156
viewsUser privileges
Well, I’m on a college exercise that’s creating a blog. Can contain 4 different users: User(only reads post and comments) Redator(Creates posts and manages comments) ADM(manages all posts and…
-
0
votes1
answer32
viewsMouse click on <TR> of the table do not trigger the last <td>
Below I have a row of a table. This row can be marked by clicking on any location of it with the mouse triggering an event click. However, specifically on the button, I do not want the javascript…
-
0
votes2
answers4381
viewsHeight of Row in bootstrap using percentage (%)
How to change the height of the Row in the Bootstrap using percentage? I tried the property height so much on the CSS, how much in the HTML pure, and did not work. In a nutshell, I want to have…
-
0
votes1
answer23
viewsI cannot display data populated in column-separated Divs
I want to display data from a table by Divs with columns of specific size for each of them, but when I load the information, it brings them all in the same column, I don’t want to use table tags to…
-
0
votes2
answers287
viewsRegistration for minors -Php - Javascript
Good afternoon guys, so I’m creating a user register, but I want underage users can not register, I tried several more ways I could not, if someone can explain me how to do and give me an example I…
-
0
votes1
answer1151
viewsUse of CSS background-image and background-color
I’m studying HTML and CSS through Caelum’s workbook and I’m having trouble getting CSS to work properly on the page. I have the following CSS code: body { color: #333333; font-family: "Lucida Sans…
-
0
votes1
answer999
viewsLine spacing
I’m using the Materialize Framework on a website, but when I create two lines it gives me this spacing, someone knows how to fix? <!DOCTYPE html> <html lang="en"> <head> <meta…
-
0
votes1
answer58
viewsProblems with forms
I’m trying to make a form using js and php, only when I click the send button, it always stays with "Sending email..." and never sends, I checked console and says that the error is in email.php (404…
-
0
votes0
answers176
viewsUpdate PHP UPDATE
Good evening I am trying to update a register of delivery of lunch boxes, I click on the button to update and update right in the bank, but when I will update again the same order for delivered, the…
-
0
votes0
answers77
viewsI’m unable to access the objects inside the $Scope
I’m trying to validate a form, it only records the data if it passes on if ($scope.frmCliente.$$invalid), but the object frmCliente not being accessible within $Scope. the error that appears in the…
-
0
votes2
answers67
viewsError taking the specific value of a dynamically created input within an html table
I have an html similar to the html below and I need to get the value of an input that is within a sub table who is contained within one another table from the click the Insert button, I saw some…
-
0
votes1
answer55
viewsHow to get the id of the button clicked on a result listing line by Angular JS?
How to get the id of the button clicked on a result listing line by Angular JS? In the HTML page I can use list.id, but in the code in Angularjs, the codes below return me Undefined: id; $scope.id;…
-
0
votes1
answer31
viewsI put a form on a website and I cannot get the confirmation message to appear. The code is below. Can anyone help me?
<script type="text/javascript"> function hgsubmit() { if (/\S+/.test(document.hgmailer.nome.value) == false) alert ("Por favor, digite um nome."); else if…
-
0
votes0
answers88
viewsCombo Box loading undesirable values
I’m with two Selects on the page that are interdependent. In the first SELECT I select the Flag and on according to all the stores that belong to that flag. And I have a third field where I wish to…
-
0
votes1
answer288
viewsIs it possible to define an HTML tag in a C#string?
I have the following string written in C#: string Descricao = "Você ficou muito tempo inativo, e por isso sua sessão caiu. Retorne para a página inicial para continuar." I would like to put the…
-
0
votes1
answer143
viewsFollow link with Enter based user input
With the help of the community, I created a file to redirect a user who has typed their login to a web page that receives the user in this way: https://site.com.br/usuario=LOGIN&empresa The…
-
0
votes3
answers4370
viewsHow to add opacity only to the image?
A snippet speaks more than a thousand words: body { padding-top: 11%; background: url(https://fakeimg.pl/1920x1920/); } <link…
-
0
votes2
answers2838
viewsDropdown menu with javascript
I’m trying to make a dropdown menu just by changing the <div's> with Js. Is there any way to use just one function() to change the <div's>? The only solution I’ve found is to create a…
-
0
votes1
answer347
viewsScript smaller than 18
I’m making a record that’s only allowed for people over 18, I made a script that is catching two days ahead in the case today and day 02/11/2017 so only user who were born from the day 02/11/1999…
-
0
votes1
answer250
viewsAngularjs - ng-repeat is not working
Good afternoon, I made the following code: http://jsfiddle.net/27du7oaL/5/ . Accessing Jsfiddle, you can see that Angular shows the title that is in the controller, but does not show any data…
-
0
votes2
answers179
viewsJquery taking the <i> parent
Good people, I need to get the ID of the clicked one. My HTML is as follows: <table id="datatable"> <thead> <tr> <th>Nome</th> <th>Data de Nascimento</th>…
-
0
votes1
answer43
viewsHelp search ip
I made a simple php, from Geolocation, but there is a however, I want it like this: when the guy accesses the site without searching ip no appears his default ip as it is already, but if he accesses…
-
0
votes1
answer128
viewsAdd date in table
I’m pulling an API and putting its data inside a table, but this data goes to the table part that is td, but I want to put the date that the data were implemented there, then the date would be in…
-
0
votes1
answer1903
viewsAutomatically set date and time in HTML table
How do I automatically set a date and time in my html table? Doing it by js. I created a table by js and entered in it data from my API, only that this data goes to the TD part of the table, and I…
-
0
votes1
answer41
viewsDoubt in news system
I made a news system, ai na index.php aparece um breve resumo da notícia, ai quando a pessoa clica em "Ver mais" ela vê a notícia completa. But "See more" is a 'href'. And I don’t quite handle GET…
-
0
votes2
answers702
viewsFixed menu problem with bootstrap
I’m having a problem on the menu of the site I’m creating, I picked up a style of a ready menu of the Boostrap, where it was fixed, I made some changes to the menu CSS (no big deal). But when I…
-
0
votes1
answer131
viewsIs it possible to apply style to an XML structure?
A while ago I did that question, and those days I wondered if I could not use XML for structures, for example, with a table,: XML: <root> <row> <col>col 1</col>…
-
0
votes1
answer392
viewsFunction is not running in Javascript
Javascript function user(){ input = document.getElementById("user").value; label = document.getElementById("tuser"); if(label.style.display == "block"){ if(input.length >= 1){ label.innerHTML =…