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
answer758
viewsHow to mount an array of selected select items in html and scroll through it to organize items in javascript?
I have the code: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); associar.click(function() { var…
-
2
votes0
answers535
viewsDynamic Javascript date mask
Recently I had to perform a mask for dates with automatic filling, I searched a lot and did not find answers that solved my doubts. When typing '4' in the first field, the '0' should already be…
-
2
votes1
answer691
viewsHow to get values from two html selects in javascript?
Basically I have the code below: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); var gravar =…
-
2
votes2
answers44
viewsInvoke a page click and commit
I’m not gonna post code on the question because I don’t know the beginning. I have a page in HTML and with want to know if it is possible, with PHP invoke click action, etc, in selectors for example…
-
2
votes1
answer6289
viewsCentralize div in Bootstrap
Hello, I have a PHP page on which I am using Bootstrap to make a simple search screen. <div class="container"> <img src="/img/logoSuivi.png" class="img-responsive center-block"> <div…
-
2
votes1
answer1331
viewsSending data via Link (POST or GET)
Good morning my dear, I’m new around here... First of all, I want to point out that I have read the topics that exist in this forum and I could not solve my problem! My problem is to send only the…
-
2
votes2
answers817
viewsAlignment Gif Loading
Hello, I have the following code: https://jsbin.com/jojukiseze/1/edit?html,css,output I’m trying to align it so that it is centered on the screen regardless of screen size or orientation (whether a…
-
2
votes2
answers564
viewsHow to put texts in Progress
Hello, I have a progress, but I would like to add the value of the percentage at the center of it, with some more information. <progress name="progressbar" id="progressbar" class="progressbar"…
-
2
votes2
answers168
viewsInclusion of external files . js
Guys, I have a . js file in meudominio.com/.js file (example). This file contains functions that send requests via Ajax to another file, the.php data (does the search and returns in json), which is…
-
2
votes1
answer4141
viewsCSS font-Smoothing: antialiasied makes no difference?
It is possible in the late Fireworks cs6 (and by what I read in photoshop as well) to optimize font rendering. Searching to see was possible to apply this in the web pages vi that there are…
-
2
votes0
answers123
viewsNot all my class="posts" appear on the page
Hello! I am developing an app with Html5 to learn. I got a template ready using boostrap. I’m having a hard time getting it on one of my "pages", all the fields.. <ul class="posts"> <li…
-
2
votes3
answers950
viewsHow to limit the characters of a label?
I’m in an e-commerce project, and I need to display a product name. I’m thinking of using a label for this. The idea is to leave x characters visible, if the title exceeds this number x of…
-
2
votes2
answers1737
viewsExporting HTML form to PDF with input field initialized by js does not appear in the PDF document
I have an HTML form where each input tag has its empty value attribute. This value attribute must be filled randomly by a javascript code. So far everything is OK. The problem is that when I use the…
-
2
votes2
answers179
viewsCSS3 Responsive Menu Dropdown are not working!
Well, I want to use this menu here http://codepen.io/emredenx/pen/ojcxl It does not work on blogger http://menuteste158.blogspot.com.br/ and I tried in several different templates too. I downloaded…
-
2
votes1
answer339
viewsDo not apply CSS rule to just one page
I have a CSS class that I would like to nay applied when I’m on a page: example.com.br/test There’s a way I can do that with some CSS rule? This is the class: .section-name { display: none; }…
-
2
votes1
answer82
viewsCreate folders in Kcfinder
Is there any way/configuration to create folders by Kcfinder in his uploads directory? Ex: The default directory is /images, inside it I would like to create other folders by Kcfinder itself, but I…
-
2
votes1
answer17754
viewsHow to position a div in front of another
I tried it this way, but it didn’t work... keep the bottom one on top of the top one, when it should be the other way around. What I’m doing wrong? .funil{ text-align:center; } .funil_1 {…
-
2
votes1
answer695
viewsNotice: Undefined index in variable $_FILES (upload PHP)
I created this code to add products to my database, only that there is an error in the image, says I did not set it. the code is this: <?php ob_start(); session_start(); require 'ligarDb.php';…
-
2
votes1
answer533
viewsHTML + CSS - Element position relative to div
I’m failing to position my element at the top and the right end of the div. See that my div is slightly yellowish color, and my element "x" in red. This "x" is what I want to position.…
-
2
votes2
answers541
viewsHow to reduce space between Bullet and text in a centralized <ul>?
I have a centralized list. <ul style="text-align: center; list-style-position: inside;"> <li>abc</li> <li>xyz</li> </ul> The point is that Bullet is very far from…
-
2
votes3
answers1243
viewsHow to select the content of an input in ng-Focus?
In an input I have a method that selects the content of the field when clicking on it. <input ng-click="selecionaTudo($event)"> That’s the job of: $scope.selecionaTudo= function($event){…
-
2
votes1
answer241
viewsDisplay div elsewhere according to screen resolution
Could I give a different include for each resolution? Type... if the resolution(width) is greater than 768 I want to display 2 columns(grid_6 and grid_6), opening the text on the side, ok. but if it…
-
2
votes1
answer930
viewsUse variable with site address in HTML - Angular
Hello, I’m developing an angular site, only I’m having difficulties using the variable baseurl, which contains the base path of the site, in some things like links I can use, but within a…
-
2
votes1
answer2321
viewsdisable double click across site?
Is it possible to disable double-click on the entire site and any element? Is this possible with jQuery or HTML? I want to prevent the user from 2 clicks in a row on links, buttons and etc.
-
2
votes1
answer102
viewsInteraction between pages
I have a question and would like some tips to update a page through another page. Example: On page "A" I have a list of products and a link to page "B"; Page "B" will open in a new tab and has a…
-
2
votes1
answer53
viewsHow can I pass this code snippet to localstorage?
<script> navigator.geolocation.getCurrentPosition(function(position) { document.cookie = "mylat="+position.coords.latitude; document.cookie = "mylng="+position.coords.longitude; }) var mylat =…
-
2
votes1
answer2976
viewsHow to style a CHARTS in height, width and proportion?
There’s a day I’m trying to put a Charts.js on my website. It’s already there, but I can’t fashion it. Where should I change the width, height and ratio of the graph? As you can see in the image,…
-
2
votes2
answers835
viewsScroll event
I’m trying to change the color of my navbar according to the page scroll, ex: It starts as transparent, but when I give it a scroll it turns white, if I scroll up again, it turns transparent, only…
-
2
votes1
answer474
viewsAJAX PHP system - When using $("#div"),load("page.php", {foo: bar}); jQuery not found $("#div")
I have an AJAX system in PHP and I have an index.php where I have all src js included: <head> <link rel="stylesheet" href="/assets/fileinput/css/fileinput.min.css" media="all"…
-
2
votes1
answer432
viewsHow to make paging inside a modal in bootstrap?
I have a modal in bootstrap that opens at the click of a button, inside this modal I want to display 2 contents: 1 form and 1 paragraph. However, I would like to paginate that within the modal, 1…
-
2
votes1
answer6201
viewsHow do a select html load a list of options each time another select to change selection?
I am needing to have a select load an option list each time in a previous select change selection. I know I’ll use Javascript to do this, but how? Follows the code:…
-
2
votes0
answers58
viewsHow to return a Javascript calculation to the same page?
I would like to know how to make a calculation made in the call of a function in Javascript return me on the same page, because when I do the action to perform the calculation, it returns me the…
-
2
votes1
answer93
viewsHow to position Ivs in Tumblr style
How can I position the Divs this way? Remembering that it does not position in vertical line, always in horizontal it goes kind of fitting.…
-
2
votes2
answers135
viewsWebscrape Scoring for Welfare
I needed to extract the information from this site for an excel file, which Members vote in favor, against, abstentions, finally. It’s a webscrape exc, but as I understand html I’m having a hard…
-
2
votes2
answers105
viewscheckbox in dynamic matrix field
I found a code in one of the questions of the forum, follows: function criarTabela(conteudo) { var tabela = document.createElement("table"); var thead = document.createElement("thead"); var…
-
2
votes4
answers344
viewsConvert a Select with 2 option HTML to 2 Buttons
Context: Daily access a site several times during the day, of which before effectively entering, besides informing user and password, I have to select the type of access between the 2 existing, I…
-
2
votes3
answers1261
viewsHow to make the background inside a div occupy the whole body
I want to place an image inside a div that occupies an entire body, that when you enlarge the screen with the mouse scroll, it continues following the size of the entire screen. Example of site with…
-
2
votes1
answer51
viewsSearch the bank from option
I need that when selecting an option in a option, a search occurs in the bank without leaving the page and shows what was returned through this search and fill fields with the results. I already…
-
2
votes1
answer958
viewsCSS file Only for a DIV, Is it possible?
Well, I’m probably going to take a negative vote on that question, so I’m going to try to explain as much as possible, ask you to try to understand and if you can’t, please ask. Situation I have a…
-
2
votes3
answers553
viewsNth-Child does not work
<div class="intro-frases" > <div class="row"> <div class="col-md-6"> <h1 data-segundos="4" class="frases pull-right" >TESTE 1</h1> </div> <div…
-
2
votes1
answer134
viewsWhat is the best way to send action(form) or jquery Submit data?
Is there any standard for sending form data today? Use jquery and delete action(form) or validate with jquery and send the data using action(form).
-
2
votes1
answer1810
viewsHow to capture parameter in form with enctype="Multipart/form-data"?
I’m having trouble capturing the parameters of an HTML form with enctype="Multipart/form-data", I can upload an image through the form, but I can’t capture text typed in the form. The form looks…
-
2
votes2
answers72
viewsSelector in CSS differences
What’s the difference between: .figure-box>figure>img{ width: 440px; position: relative; } To: .figure-box figure img{ max-width: 100%; position: relative; transition: transform 0.6s; }…
-
2
votes1
answer298
viewsRead Json in PHP?
I have the following code in my PHP: <?php $url = "https://api.cartolafc.globo.com/mercado/destaques"; $response = file_get_contents($url); $jogadores = json_decode($response,true); It should…
-
2
votes2
answers2095
viewsCNPJ query using PHP
The situation is the following, I have a script in PHP that makes CNPJ queries by the site of Receita Federal, but it is returning me some errors, I don’t really know if they’re mistakes. HTML/PHP…
-
2
votes1
answer1147
viewsHow to import data to Json from a table in Excel
I want to generate charts with Chart.js and need to import data from an excel spreadsheet to json in order to elaborate the chart. var data = { labels: ["January", "February", "March", "April",…
-
2
votes1
answer277
viewsDevice keyboard is over Input
I have an application in Xamarin using Hybriwebview (HTML screens). Inside it I have a text input at the bottom of the screen and when I click on the input the keyboard of the phone is over my…
-
2
votes3
answers3498
viewsI wish I had more than one bootstrap modal on the same page
<div class="container"> <img src="../imagens/editar_3.png" style="cursor:hand" title="Editar Info" data-toggle="modal" data-target="#myModal"> <div class="modal fade" id="myModal"…
-
2
votes0
answers74
viewsCall HTTP error ERR_RESPONSE_HEADERS_TOO_BIG
I am submitting a form with lots of information and I receive the following message: ERR_RESPONSE_HEADERS_TOO_BIG Small section of the code: $("#editForm").submit(); I understand that the error is…
-
2
votes1
answer112
viewsConditional Comments IE7 does not work
I have a code HTML, one with a conditional to appear only in IE7 and below I put another code without conditional to appear in IE8 up and in other browsers, but when I open IE7 the browser is…