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
votes0
answers39
viewsDifference between id and class in HTML5
When I have to use "id" and when I have to use "class" in HTML5?
-
1
votes1
answer108
views -
1
votes0
answers708
viewsProblems with DATEPICKER, using only month and year
Good afternoon, you guys I have a little problem in my plugin datepicker I’m only using month and year in it, and when selecting a month and a year, the month instead of coming in number, for…
-
1
votes4
answers1845
viewsHow to identify Focus in a div?
Galera mounted an input system with the same layout of android. Everything works perfectly on input but the input supplier stays within a div, because I have to add a button instead of x. The…
-
1
votes2
answers551
viewsProblem with duplicate form sending
Guys I’m having a problem sending duplicate form. It occurs as follows. I have an html form, when the user of 2 quick clicks or quick click on enter he sends the form 2 times. I tried to solve the…
-
1
votes3
answers23335
viewsavoid line break within a table, or minimum size
Galley is possible to determine a maximum and minimum size for a table? My problem and the next, I have a table with a text inside it, and when I decrease the size of the window of the navigate…
-
1
votes3
answers2989
viewsMake field mandatory depending on response
I have a medical form, and the following amendment has been requested: If field 1 is checked = 1, make field 2 mandatory. If not checked do not make it mandatory. Could someone help me?…
-
1
votes1
answer105
viewsYour binary does not support iPad
I realized the creation of a "web app" using phonegap, when sending it to itunes, I got the following warning: "Your binary does not support iPad", how to proceed? Someone could help me, because if…
-
1
votes3
answers4152
views -
1
votes1
answer51
viewsHow do I create list that by clicking call the function by sending a value?
I’m wearing a Select to pass values to a Javascript function. When selected takes the value and based on that value the function I have here returns something. I would like to exchange for a list of…
-
1
votes1
answer64
viewsTrying to make Alert on all href of the page but only one is displayed
I’m doing some tests and I came across this very boring mistake. It’s easy to explain: I want Jquery to give the alert in all the <a> of the page, but it only alert once and nothing more.…
-
1
votes1
answer124
viewsWorking with identical forms on the same page
Hello, I need to insert the same form twice on the same page. Both call the javascript function to fill fields automatically. Example, select combo 1, ai fills combo 2, selects combo 2, and fills…
-
1
votes3
answers8546
viewshow to convert pixel to percentage? css
Hi, I’ve been learning a little bit about responsive websites, and.. so far the only solutions I found were, put different styles for each size. e.. the percentage, which in my view would be the…
-
1
votes4
answers3032
viewsTake part of the html content stored in a variable
I have a problem that I could not find a solution on the net. Simple I want to take only the second <p> of the text, of div in the case, it is + - so: <div id='central'> <p>O…
-
1
votes4
answers2314
viewsHow do I insert the value of a variable into an HTML attribute using pure Javascript
I’m trying to insert a value I’m taking from the url inside the HTML attribute, as follows: I’ve done this job function urlId() {…
-
1
votes1
answer469
viewsSend id to an Hidden field by clicking on an item in the.js autocomplete
I need to send the client id to an Hidden field by clicking on its name that is brought by the jquery autocomplete. The autocomplete is already working ok.. what I really need is to click send the…
-
1
votes2
answers92
viewsproblem when converting text to lowercase
Galera created a function that converts the text to lowercase inside the input, the problem is that when I enter an input with value, and having change something the cursor jumps to the end. Someone…
-
1
votes1
answer1362
viewsHow to display message in Angularjs?
I am working with angular and need to add a message on the screen when being prompted the check code button. An error or success message. Angular controller angular.module().controller(){…
-
1
votes1
answer3664
views -
1
votes2
answers560
viewsWindows form integration with html page
I have an application that is a Windows Forms that I need to integrate into an HTML page of my web application In case it causes Windows Form to stay there fixed as if the two were one thing. This…
-
1
votes2
answers634
viewsHow to read a JSON using JAVASCRIPT ONLY?
I want to read and present in a.log console the information that is inside my . JSON, but without using jquery or other frameworks. Basic code.
-
1
votes1
answer1089
viewsHow to import external Jquery?
Good afternoon, my friends I have a problem importing external javascript, (in the case of Jquery library) The files are in the correct folder but when I call by src="" nothing happens. Thanks for…
-
1
votes2
answers978
views -
1
votes2
answers2781
viewsHow to limit the size(kb) of a photo with JS?
I have the following question, it is possible to limit on the client side with JS(or jquery) the size(kb) of the photo? I would like to limit in 500kb at most using the input type="file" <input…
-
1
votes1
answer1703
viewsHow to use google Charts Offline?
I’ve already used Charts and still think about using it in a system I’m developing! Only this system will run off! Is there a library or any way to use Google Charts Offline ?
-
1
votes1
answer5077
viewsOpen new Javascript window
I would like to open a new window in an application developed with Ionic framework. html <a href="{{exemplo}}">Abrir </a> java script exemplo = window.open("google.com"); I would like to…
-
1
votes1
answer1367
viewsFIPE Table API Form using Angular
Personal talk. I’m a beginner in Angular and would like a help with this form. <html ng-app="app"> <head> <title>Teste</title> <script…
-
1
votes1
answer4431
viewsAdd text under images using table
I’m using a table to align images and text. However, when the resolution is low, it gets very unpleasant and I wanted to put the text down in low resolutions. How to do this, being within a table?…
-
1
votes0
answers337
viewsCreate dynamically angled checkbox columns
I’m trying to dynamically create checkbox columns in a dropdown using angular. I use bootstrap. Each checkbox item may or may not have related children. The solution I found was to put everything…
-
1
votes1
answer333
viewsSave value from a select in Session
Good morning, I have a select where I bring the categories in my php site, after selecting the category I needed to redeem the value field to use it in the select of the sub-category. I believe that…
-
1
votes0
answers233
viewsHow to get the value of a field from another table with ruby on Rails
Hello, the question is this: I have classes that use data from other classes, I need you to load the values registered in these other classes, show this in an html page. This is the structure of a…
-
1
votes1
answer749
viewsStyling the Menu with CSS
Guys, I’m coming back here again with my question. I got a code that made the :hover was selected on the current page, but it’s not working, would anyone tell me why? Follow the codes: <script…
-
1
votes1
answer521
viewsgetOutputStream() error has already been called for this Response
I have in my application the following error: getOutputStream() has already been called for this Response. Ok, the chunk of code that is causing this error is as follows: boolean hasLogoLogin = new…
-
1
votes3
answers205
viewsDoubt about HTML input attributes
Hello, everyone. I’m doing a Tabuada using HTML and PHP. The user enters a number through a form and the table is displayed. I wonder if I can put some attribute in <input type="number>"so…
-
1
votes3
answers186
viewsHow to pick up middle item with javascript or css?
Guys, I have the following situation: <div class="corpo"> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div> This Divs…
-
1
votes1
answer1310
viewsHow to prevent a div from leaving the page, when another div changes size?
My page has basically two divs, to the right and to the left, the two are with style="position: fixed;", that is, if I roll the page, those two divs are side by side, fixed, always visible. But when…
-
1
votes1
answer187
viewsShow div on onclick independent of clicked button
I know little of javascript and on my page I have a button that, when clicked, calls a div. So far so good, but the function takes the id button, ie if I put more than one button on the page and…
-
1
votes2
answers22742
viewsView Div in Mobile Version Only
I have a question and I think other people might have that same question too... Let’s go: I have a website, with header edited to appear on computer screens (resolutions bigger than tablets) but I…
-
1
votes1
answer360
viewsDefine the class of a li element created at runtime
Below I have a stylized list with the bootstrap (defining the class of ul and li) <!DOCTYPE html> <html> <head> <link href="bootstrap-3.3.6-dist/css/bootstrap.min.css"…
-
1
votes0
answers47
viewsLayout problem when swapping eclipse for Intellij
I’m a beginner and I’m in the middle of a project. Due to many build bugs, I decided to exchange the eclipse for Intellij. Import problems and bank connection solved, I can continue the project. Now…
-
1
votes2
answers129
viewsChange cursor in "onhover" event to HTML5 <video>
I want to change the cursor to a "hand" when I move the mouse over the buttons: Play Stop Volume Fullscreen etc.. to a video player HTML5. At the moment, the mouse pointer when it passes over the…
-
1
votes2
answers229
viewsGrab size from a textarea that has been added dynamically
I create a modal box that has a textarea, when clicking the send button I need to know how many characters there are in the textarea. Trying to use Jquery to find this size has not returned anything…
-
1
votes1
answer82
viewsDownload View instead of displaying it
there is some way that instead of me returning a view and displaying it on the screen for the user, I return it but instead of displaying it I save the file . html on the computer? The code is as…
-
1
votes2
answers1323
viewsRead an input file using Javascript
I created one and would like to read the contents of that input before sending it to the server. I saw that I can do this using a filereader but the information I found was a bit confusing. How can…
-
1
votes1
answer615
viewsHow to use bootstrap Collapse on this dynamic page?
I have this screen to insert images in the system, the part of the insertion works right, only I want that when clicking an image, appear the edit button as in the image, and if you click again on…
-
1
votes1
answer329
viewsHow to leave a <div> with the same operation as a radio button?
I’m developing a system of employee metrics, performance evaluation, I have <div>'which have been set in table form on my form to qualify each option as Rare, Sometimes, frequent, at all times…
-
1
votes1
answer1603
viewsHow to make when the button is pressed it continues with different color
Hi, I’d like when you hit the button, it would change color and continue like this until another one is pressed. I tried with the :focus, but if press another element the color back. Buttons:…
-
1
votes1
answer146
viewsKeep variable value between layers of a function
I wanted to make a site where when I click on the image it doubles in size and width, but can do this only once, and if I do more, a warning appears preventing it. Similarly, if it is the default…
-
1
votes2
answers9856
viewsAlign image next to horizontal menu
Hello, I have a small problem, I added a horizontal menu to the html of the site and I wanted to put an image beside (right) but it won’t, I tried by float, align, margin and nothing, I don’t know…
-
1
votes1
answer2357
viewsHide and Show DIV based on SELECT response
I have the following code and would like when selecting any value within select "#Cities" to show the div ". dataLoja" and that it is hidden at first, already taking advantage of the question has…