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
votes2
answers365
viewsAdd attribute to dynamically created object
I’m trying to add a data-id for objects that will be created dynamically, well the point is that I want to do it right when the document or my object is loaded, without the need to click etc, see…
-
1
votes1
answer139
viewsHow to use the select form on the html page
I need to know what the user has chosen within a <select>. In the code below I need to know the code of the collection chosen by the user, to show the items that have not yet been collected.…
-
1
votes1
answer215
viewsLoop with Angularjs data
I would like to make a frame with Angularjs data Populating of the data via json so: Example: date = ""01/01/2015" but, will be shown only the day The table is made with a loop <div…
-
1
votes1
answer222
viewsValidating Empty Dropdownlist
I have the following Dropdownlist: @Html.DropDownList("HorasPendenciaID", null, new { @class = "dropdown-custom" }) When seventh '0' in his value it is empty. I would like to validate whether…
-
1
votes1
answer530
viewsHow to recover data from an HTML form opened in a Webview?
Hello! I have a responsive web application that I intend to open via android app through a Webview. Well, the only problem is that I would need to take some Submit data from just one application…
-
1
votes1
answer661
viewsChange variable value js by clicking button and clicking again return to initial value
I have the code js $size = 50; and I want to click on that button <label for="post-1" class="read-more-trigger" onclick="$size = 500"></label> it changes the value to 500. My only…
-
1
votes1
answer53
viewsHow to capture the value of the current attribute with jQuery?
I have the following form in html: <form>First name: <br> <input type="text" name="nome"> <br>Last name: <br> <input type="text" name="sobrenome"> </form>…
-
1
votes0
answers765
viewsCountdown ultilizing the current time in Javascript
Guys I found this counter in Javascript on the internet and I need to configure it as follows: In giving 22 hours he starts the countdown, the countdown goes to 15 hours the next day, then the day…
-
1
votes1
answer132
viewsRecover bigger facebook image by ID
I need to recover the image of the Facebook profile, I found a code, but the image comes small, someone knows some code where I can recover it may? I can not use the facebook API, because the ID’s,…
-
1
votes2
answers186
viewsMake your website open only on mobile
I need my site to open on mobile only, as it is a hybrid app that will either serve as webview or Progressive Web App. How can I make my website open only on mobile devices ?
-
1
votes2
answers87
viewsHelp with concatenating
I need to pass a variable inside an item array, a parameter that only accepts string, but when I pass a variable the API does not accept, it says that the parameter is incorrect. Better explaining:…
-
1
votes1
answer355
viewsSaving UTF-8 Files on the Server Side
help me with this code here in PHP: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Atualização de dados</title> <link…
-
1
votes0
answers463
viewsUse two CSS classes in C# Razor MVC
I want to use two CSS classes in Razor. Is it possible to do this? Because I’m not getting it. Here’s what I’m doing: <div class="form-group"> @Html.LabelFor(model => model.ativo,…
-
1
votes1
answer49
viewsCharacter counter back to default value
Galley, I have the following problem, I built this expression in JAVASCRIPT, it captures the amount of characters I typed and subtracted with MAXLENGTH, it works but I’m using JSON (not to post on…
-
1
votes1
answer954
viewsHow to receive seconds value using HTML5 input time?
I need to work with fields in Mysql in hours, minutes and seconds like 00:29:13. Yet only the hour and minutes appear to me: <input type="time" class="form-control" name="hora" placeholder="Hora"…
-
1
votes2
answers668
viewsIcon libraries
I would like to know from you, which are the libraries of icons that you use, preferably free, I for example, I started using Font-Awesome, but it did not meet some of my needs.
-
1
votes1
answer547
viewsCan I use the same Id I set for Name in HTML?
In order to manipulate html tags in php I need to define a name for them, while javascript uses id, but I may have some kind of future problem if I use the same name I set for name in ids?…
-
1
votes4
answers1661
viewsRedeem name and show in option through id
I have a id table, example: user with id = 1, how can I get this user’s name using the id of it and show in a input? I did so: while ($dados = mysql_fetch_array ($sql)) {?> <option…
-
1
votes1
answer914
viewsJoin 3 forms in 1 Submit
Have 3 forms : Form1, form2 and form3. I don’t know how I can " join them together " so you only need one <input type=submit /> for the three instead of creating a Submit for each one Is there…
-
1
votes2
answers1476
viewsPhonegap - Open Whatsapp "Whatsapp://send?" IOS 10
Until the last version of iOS 9 when I wanted to share something by Whatsapp I could use the link: whatsapp://send?text=mensagem on a tag <a> or window.open no js. But in iOS 10 this stopped…
-
1
votes2
answers17549
viewsHow to do for when I click button,open link in another window
example this image below,I clicked the button and open in a small window!…
-
1
votes2
answers771
viewsOpen link in another tab when you click button
I already know how to open in another window, want when I close it, update my site! Her code is this: <a href="https://www.blogger.com/blogger.g?blogID=811315793714916374#"…
-
1
votes0
answers43
viewsviewport user-Scalable does not work in safari help
Hello, I put a goal on my site, only safari it does not work. <meta name="viewport" content="width=1100px, user-scalable=0;"> use this to fit the screen, I tested on android, Chrome on mozila,…
-
1
votes1
answer151
viewsError in Javascript for Chekar Asp:Checkbox
Good morning. I have the following code: HTML: <asp:CheckBox ID="ckPergunta" runat="server" onchange='SelectChoices(this);' /> Javascript: <script type="text/javascript">…
-
1
votes1
answer367
viewsset position of scrollbar in an iframe
I have a #iframe page, and when the page loads, I need the iframe scroll to slide horizontally to the end (to the right). I tried several ways but so far nothing.…
-
1
votes1
answer636
viewscreate link with file download
People create a link on my site so that the user can download a file. The link works 100%, however after the user clicks to download the file and downloaded to download folder from the computer. How…
htmlasked 8 years, 6 months ago Hugo Borges 5,294 -
1
votes2
answers2159
viewsHow to call the value of a javascript variable to use in src?
I have this function in js that takes the name of the video that the user has chosen function getUrlVars() { var vars = {}; var parts =…
-
1
votes1
answer677
viewsHow to receive a PDF file in Django and save to a directory?
I get an html file using type="file". <form action="/docs/enviado/" method="post">{% csrf_token %} <input type="file" accept="pdf" name = "projeto"/><br /><br /> <input…
-
1
votes0
answers52
viewsScript does not continue execution
I’m making a script that collects the data of students that are displayed only on an HTML page. Tags are not identified by id, and had to collect everything in a very inappropriate way (searching…
-
1
votes1
answer199
viewshow to put text in while in php just once
I have an image gallery made with fancybox that all the images that appear come from the database. the gallery is something thus. I have this: <div id="exterior"> <?php $con =…
-
1
votes3
answers132
viewsExchange td value after validation
I have the following HTML code <table> <tr> <td class="x">10</td> <td class="x">10</td> <td class="x">12</td> <td class="x">18</td>…
-
1
votes0
answers65
viewsPlay running after Pause
Hello, I’m trying to run an mp3 and I’m having a problem, when I click the pause button it executes the command, but soon after it runs the Play, which can be? PLAYMUSICA.PHP <script…
-
1
votes0
answers66
viewsAppearance of border not reported
var images = $("[data-img]"); images.mouseenter(function() { $(this.dataset.img).css('box-shadow', "inset 0 0 20px black"); }); images.mouseout(function(){ $(this.dataset.img).css('box-shadow', "");…
-
1
votes3
answers585
viewsSelecting the VALUE of a select with javascript or jquery
Well, I have the following problem: I need to select the value of a select in the html to execute a loop if in javascript or jquery, how to do ? <select class="input"> <option default…
-
1
votes1
answer69
viewsControllar scroll to go in sections of the site
I have a site with sections. I’m trying to get the scroll to skip to the next section and so on.. I thank you from now on!
-
1
votes3
answers242
viewstable html shellscript
Guys, anyone who knows shellscript know how to create this requested script in the image below? I’m doing some exercises with the theme, and that kind of got me.…
-
1
votes3
answers1267
viewsIs there an alternative method to window.print()?
I want to print an iframe, but the print() method does not work because my "src" attribute contains "data:text/html;charset=utf-8,%3Chtml%3E%3Cbody%3Efoo%3C/body%3E%3C/html%3E", There is a method…
-
1
votes1
answer3538
viewsTaking xlsx file with HTML and PHP
I need to import data xlsx to a system I created. HTML <form method="post" action="" enctype="multipart/form-data"> <input type="file" name="arquivo"> <input type="submit" name="pegar…
-
1
votes3
answers1779
viewsHow to do that by clicking a key a Submit is sent
Good is the following, I have a chat on my site, the chat has a text field and a send button that is to send. That is, the person type in the text and then have to click on the send. I would like to…
-
1
votes1
answer211
viewsImplement Loader while loading the page
I would like to better understand a resource widely used in web systems where you access a page it displays a 'Download' while the content is not ready. How to implement this in a PHP system that…
-
1
votes1
answer513
viewsValidation of two selects
I have two camps select, I have states and other cities. I need to select in a select one state, ex: São Paulo and the other select bring only the cities of Sao Paulo.…
-
1
votes1
answer696
viewsRestful site, when resizing the elements go to the bottom of the page
The page has only one photo in the center and some texts. I added a Media Query so that when the viewport is less than 700px it increases the images, but when I decrease my screen, it explodes...…
-
1
votes3
answers366
viewsHow to mount an array with bootstrap tagsinput values?
I’m using a bootstrap tagsinput to insert values in the bd, but the values are being stored in a single string, for example: "256,257,299". I would like these values to be set in an array and look…
-
1
votes2
answers536
viewsService with list of cars and models
Good afternoon, I’m about to develop a website where you’ll need to fill in the car model, make and year. I would like to know if you know any web service that brings me this information or I will…
-
1
votes1
answer1813
viewsHTML/CSS Notification Basics
I’d like to know how include notifications on my sites, as basic as possible. I searched a little about it but I didn’t get any results ... I hope you can help. Beyond that doubt... I wondered if to…
-
1
votes1
answer498
viewsSave Game Data in Html5 and Javascript
I would like to know how I can make a "cache" of a project of mine, because the game works normally, but when updates the page, all progress is lost, I would like to know how I can make this "cache"…
-
1
votes0
answers98
viewsNotification by Browser
Hello my name is André Neto, I am developing a software, and within it there is a central mail, where the user can send an email from within the system and I store this sending data. Now the…
-
1
votes1
answer445
viewsHow to make a modal fire and stay at the bottom/bottom of the page?
Modal by default shoots from top to top. I want to do the reverse. Let him shoot from the bottom and stay there (at the bottom/footer/footer). I changed his top, but in mobile the positioning is…
-
1
votes1
answer172
viewsProblems with HTML and CSS structure
I’m with a case where I can’t solve, I’m developing a layout in HTML and CSS where I use flexbox centering content, well, on large screens everything works ok, but on small screen to div burst and…
-
1
votes1
answer196
viewsHow to make a structure with Divs of the same id
Well, lately I’ve seen in a lot of templates, that a div with the same id, takes places in different space. I as I have little knowledge of CSS, intended to do something that resembles this: That…