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
answer47
viewsHow to create a layout within Jquery and popular with data within a JSON
To create my image database and I have a page that I CURRENTLY populate by iterating a list(c#), follow the code: @{ List <ImageIndexer> imagesFoundList =…
-
0
votes5
answers1258
viewsHow to open a new background tab and redirect the current tab?
I would like when clicking on the link to open a new tab (but in the background - I want the focus tab to remain the same) and the current tab to be redirected. This is possible? With the code…
-
0
votes2
answers367
viewsHow to recover data from an html form and upload to an MS Excel file?
I need to recover data from an HTML form and send to an Excel file, there is some way with Javascript or PHP?
-
0
votes1
answer2731
viewsI can’t center the image!
How I center a image within a DIV? (html)
-
0
votes1
answer814
viewsHow to change the default "Select file" label for input file?
I’m drawing up a form with a field <input type="file">. How do I change the default label 'Select file'? See the image below: I would like to change this standard label by a custom.…
-
0
votes1
answer492
viewsSpacing between Background
Good afternoon. I wonder if it is possible to give a spacing between 'Background-repeat'. I mean, I am with something like this: Image with example My CSS is like this: background-image:…
-
0
votes1
answer127
viewsJS How to auto-refill an input with Javascript?
Hello I need to make a button that when clicking it automatically fills the input fields. HTML <button type="button" id="botao">Auto</button> <input type="text" id="nome">…
-
0
votes1
answer248
viewsHow to change the face of the site when accessed by mobile?
Situation: I have a website with designer for large screens, I created a template for mobile, like an app. That’s why I want this template to be shown only when accessed by mobile, instead show the…
-
0
votes0
answers71
viewsInsert an animation of Adobe edge in Wordpress Zerif theme
This is very specific, I don’t know if they can help me. This theme has several sessions, which are nothing more than PHP pages that are imported. I created a new page called "animation" and…
-
0
votes1
answer50
viewsHow to fread() fetch data every 30 seconds without refreshing the page
I’m wanting that function fread() or file_get_contents() search for data in the file every 30s, but without refreshing the page, I tried and couldn’t get how to do it ?…
-
0
votes0
answers48
viewsHow to forward the input to another page?
Hello, my problem is this, I have a page made in php to run the download, and I need to call it on the button(input) already tried by onclick, but at the same time I call the page need to…
-
0
votes1
answer8196
viewsiframe does not work with external websites
I am developing a panel with several iframes, however, putting external sites as google.com is not opening anything in iframe <html> <body> <h1>ADM</h1> <iframe…
-
0
votes2
answers31
viewsForm fields not clickable on website when opened on desktop?
http://pousadamonteiro.com.br/Contato.html I have a contact form template that uses JS to validate and PHP to send the data, but on this site the link is above, the form is not clickable when opened…
-
0
votes0
answers396
viewsHow to use foreach with mPdf library?
Hello, my friends. I’m in a tough spot, I know what it is, but I can’t fix it. Well, I’m using the mPDF library to generate reports, it’s great and very simple to use. I am bringing information from…
-
0
votes1
answer24
viewsAdd a page size controller
I wonder how I can make this page size controller when resizing it to be dynamic like in this example of w3schools. I want to add this to my site and credit whatever with Javascript I can leave this…
-
0
votes2
answers579
viewsremoving li using jquery
Hi I’m making a responsive site and I came across a problem, the desktop layout between the menus has the logo, but for mobile does not have the logo. As the menus are in a li, I wanted to remove…
-
0
votes3
answers164
viewsHow to add a JSTL attribute under one condition?
<div class="body"> <selected name ="multSelectSkill" id="optgroup" class="ms" multiple="multiple"> <optgroup label="GRUPO 1"> <c:forEach items="${skillsOperador}"…
-
0
votes2
answers17029
viewsCNPJ validation in Javascript
I have a simple doubt. I want to validate the cnpj of an institution registration. In this input is already placed the mask, in which the mask is in js. However, I cannot validate this field. I took…
-
0
votes1
answer212
viewsHow to Calculate Pixel Height with PHP
I have a screen on which a report is generated with a limit amount of tables that cannot be broken. I have to paginate this report. How to calculate the height of pixels generated ??
-
0
votes0
answers218
viewsHow should I fill the meta tags?
I could find ways to fill other meta tags but these, I have no idea. Does anyone have any idea? <meta content='xxxxx' name='alexaVerifyID'/> <meta content='xxxxx'…
-
0
votes1
answer35
viewsPseudo selectors css
I need to use two pseudo selectors in the same css type ul li:Nth-Child(4), but I have a submenu with another ul and end up focusing on the two ul, I need you to change only the first ul, I’ve tried…
-
0
votes1
answer43
viewsHow to make the content repeat on another page?
Hello, I am developing an application using PHP and bootstrap. The body is composed of three columns, the two sides they should be repeated on all other pages, wanted to know how to insert them on…
-
0
votes1
answer69
viewsTwo Divs opening the same popup
I have two Divs to open a specific popup, each one. As image below: Below the HTML that mounts the two Divs. <?php // Sessão ainda não iniciada ou usuário inválido if ( ( ! isset( $_SESSION[…
-
0
votes2
answers46
viewsDoubt about where to put the JS script
I’m fiddling with a panel of a website that has two JS functions at the bottom of the page that will only be used on a page that will open in a modal. On this site there is also a file dedicated…
-
0
votes2
answers190
viewsJavascript validation is not working
I’m stuck in a jam. I made an html form and created a javascript document, but the function I created does not work (as if it was not called) I tried several things and I still can’t. Here are the…
-
0
votes1
answer94
viewsPut accent in javascript code
I am doing a pedagogical job of completing words, but some words have accents and even if I put in the code appears that it is wrong, I wanted to know how to put the word in the code with accent and…
-
0
votes0
answers212
viewsSlider Loading Problems - Height
I’m using a plugin to make a slider, called Slick. http://kenwheeler.github.io/slick/ I’m leaving the image of the slider with width: 100% so that the image is good from the resolution 1280px. But…
-
0
votes2
answers48
viewsSelector does not take another selector
I have a transitional effect on a div that should be applied when I do Hover in another div. I tried to use some selectors ( +, >) I couldn’t believe it’s the way I’m using them .box-toogle {…
-
0
votes1
answer94
viewsChange text from a div inside the fancybox
I have a popup using Fancybox, inside it I have a div, I need to change dynamically using Javascript the text of it. I am using the following code at the click of a button call:…
-
0
votes1
answer1720
viewsAssign href via jquery
I have an element in my Layout and I’m trying to set href via jquery, but it won’t. The condition is in my index. Follows the code: Layout <div class="three wide column dindex"> <div…
-
0
votes1
answer86
viewsList Alignment
How do I get a list lined up side by side and center? I have created some types of lists but in my computer it is right, but in others it is always crooked! follows the example code: <ul>…
-
0
votes1
answer964
viewsSort a list <ul> by the "value" attribute of <li>?
Talk personal, all right? So I got a problem... I have a "sort by" button, in this case, of higher price and lower price. What I need to do is sort the elements of a list <li> for his…
-
0
votes2
answers6724
viewsHow to put Font-Awesome icon on a boot?
I want to make a button with an arrow inside, I tried but I could not do, who can help I thank. NOTE: I am not using any framework
-
0
votes1
answer955
viewsHow to get the value of an input with getParameter?
I’m not getting the value of the following input. <input type="text" name="rua" class="form-control" id="rua" placeholder="Rua/Av/Estrada" disabled required> This field it is filled through a…
-
0
votes2
answers70
viewsColors changing as the monitor
I’m creating a website for use in the company where I work, this site has blue background and everything, in my notebook it looks beautiful, the blue color I chose even, but when I switch to another…
-
0
votes2
answers3019
viewsHow to use "float: left" correctly?
I’ve been using the float: léft; lately, but there are times when it doesn’t work as I hope. Example: (image 1) Note that a margin appears that should not be here. (image 2) A margin some, but since…
-
0
votes1
answer38
viewsTest Pages within 5 seconds loading pattern
I will select some sites by hand, to catalog and make available later and I have in mind to prioritize users that uses mini-modem USB 2G/3G on Personal Computer (PC), in which the connection is…
-
0
votes1
answer1628
viewsSend Images in the body of the email
I am trying to send an image in the body of an email. I am mounting my html that goes in the email as follows: <html> <body> <img style='max-height:200px; max-width: 700px;…
-
0
votes1
answer50
viewsClosing app on android 6.0
How do I get the button to exit in an application with phonegap. We have tried all available forms and in no way the command executes the "exit".
-
0
votes1
answer71
viewsIs there any way to work with data groups in html form?
I have the following scenario: The client chooses more than one benefit package on a page (html form), so far so good, work with array Example: <input type="checkbox" name="pacote[]"…
-
0
votes1
answer56
viewsView monetary values simply
good morning! What would be the way plus simple to display monetary values with Javascript? I was able to limit the decimals using .toFixed(2). Only the whole part goes something like this 10510.20…
-
0
votes1
answer56
viewsHow to remove screen header on some routes
Good morning guys, in my angular project 4 I completed the Adm screen and I wish the header did not appear in it, I know I could do this with ngIf but I’m lost >_>, Can someone give a light?…
-
0
votes1
answer88
viewsOverflow-y is leaving a blank in the table width
Hello. I am trying to make my table have a scroll, as follows: <table ng-if="vm.model.id" width="100%" class="table table-striped table-bordered table-hover dataTable no-footer" style="width:…
-
0
votes1
answer2959
viewsHow to change the color of the link after the link was accessed?
Using bootstrap <div class="well well-sm"> <ul class="list-group"> <li class="list-group-item text-left"><strong>QUESTIONÁRIO</strong></li> <li…
-
0
votes0
answers610
viewsHow to enjoy browser caching?
I read and reread several times on this subject but never understand how something I do on my computer will make the site get faster on third party computer... Not to mention that when making such…
-
0
votes1
answer812
viewsCan you create css class at runtime? But with a caveat!
I came up with a question that can be of help to many, the point is that in an html form we make a lot of use of style class (css) to make life easier, it turns out that creating classes for some…
-
0
votes1
answer32
viewsView Binding for Controller does not work in "disabled" fields
I use the property asp-for in the elements of my View to pass their values to the Controller at the time of post page. <input id="txtExamNumber" asp-for="ExamNumber" class="form-control" />…
-
0
votes1
answer3653
viewsNavbar Bootstrap 4 Collapse now automatic
I am copying EXACTLY any navbar template I found in the new bootstrap 4 documentation I am using in my projects. Only, it already comes "collapsado" let’s say so. Is there any javascript function…
-
0
votes3
answers1702
viewsCreate button with border and gradient text
I need to make a button with the border and the text color gradient, but the button also has border-Radius. I have tried several forms here, but I did not succeed. What is the best way to make this…
-
0
votes1
answer35
viewsIs it a redundancy to have a single button in the form and then assign type='Ubmit' to it?
In the Phpstorm is said in a certain button, through a tooltip: Redundant default attribute value assingment When exactly this line is made: <button type="submit" id="btnSubmit" class="width-65…