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
votes1
answer1058
viewsHow to create a color palette and color a div depending on the chosen color
Where I find content to create a website with a color palette to customize a product? For example: You click on a color and this color applies to the product, I click on another color and change the…
-
1
votes0
answers71
viewsError of Sending Form
I have a form: <form action="/register.php" role="form" method="post" name="novaEmpresa" > <input name="ref" type="hidden" value='<?php echo $ref ?>' /> <label…
-
1
votes1
answer833
viewsPlay and Pause button in image animation using Javascript in HTML
<style type='text/css'> #animation img{ display: none; } #animation img:first-child{ display: block; } </style> <script type='text/javascript'> //<![CDATA[ onload = function…
-
1
votes1
answer525
viewsServlet Faces - Error in context with path
Good morning, As I have already said in another topic is not my web area but I am trying to kkkk... After adding a Responsive template named Prologue I have the following error. GRAVE:…
-
1
votes2
answers2354
viewsBrowser Identifier - Internet Explorer
I need to know when the user accesses the website through Internet Explorer, run a CSS. So far so good, follow the code I used to apply CSS: <!--[if IE]> <link rel="stylesheet"…
-
1
votes2
answers3847
viewsVertical line between Ivs
Is it possible to make a Vertical line between Divs? wanted to create a tab for the data. Below is an example of the code I am using: <div style="float:left; max-width:200px;max-height:200px;"…
-
1
votes1
answer158
viewsHow to create a "back" link
I have the index page that collects some information she sends to herself. Then the user accesses a detail page, where on this page, I created a link called "back". However, when you return to the…
-
1
votes2
answers182
viewsWhen you do not write anything, do not appear "Type a name"
I’m working on an Ionic app. There, when I search for a photo in Google and select it, the name field is filled with the word that did the search. Now, when I select an image of the phone, the field…
-
1
votes0
answers330
viewsHow to make this effect in css?
Hello, I would like to know how to apply this effect in CSS. I can’t describe what those vertical stripes are called. I’d also like to know how you make that dash inside a div. Thanks in advance.…
-
1
votes1
answer161
viewshow to change an image src from another page
Hello, I have an input where it serves as a search bar. By entering a name and pressing enter, a function is activated and performs the following function: function verificaValor(){ var valor =…
-
1
votes1
answer532
viewshow to change an image by clicking on a link
Hello, how do I change the src of an image when I click on a link next? I have a long list of images and I would like to advance according to the amount of images in this folder, rather than by one…
-
1
votes1
answer207
viewsMultiline string with Javascript
I have a small string to display in Javascript, but after much trying, I learned that if there is enter in the middle of the string snippet it will not be displayed. Can someone explain to me if…
-
1
votes3
answers221
viewscep - fields disabled for user
I am with following problem: The user will complete the zip code and will click 'search zip'. A search will be made for the zip code, and the data will be placed in the fields: patio, neighborhood,…
-
1
votes1
answer1806
viewsHow do I embed one HTML page into another without iframe?
I have a common page but inside a body in a div want for a li or a p other html, so I have a main page in case I need to make changes and have external content. No need to change all pages when I…
-
1
votes2
answers1593
viewsHow to use the Oninput attribute?
I’m remembering some things in HTML and I came across the attribute Oninput. I know this attribute is used to make calculations, but I don’t know how to use.
-
1
votes1
answer1184
viewsclick on the increase div click again decrease
Guys if you can help me in this question I would like to click a div that is fixed in the footer and it increase and then click again and it decrease, how do I do this?
-
1
votes4
answers277
viewsStart grails application
So, I’m starting to use grails/groovy now, along with html/css/javascript and, as a good beginner, I’m full of doubts. I created a login html page with google plus and wanted to run the application…
-
1
votes1
answer39
viewsOnclick with alternate calls
I wonder if there is any way to implement an alternate call in the function onclick, so that when I click once it performs a function, and when I click again call another function ... An example…
-
1
votes2
answers7745
viewsHow to check if an element has a class, or is with an "active" class
I used the .toggleClass() in a div, after clicking on a button, activate the class "menu-active", if clicked again, it removes it. So far so good. Only now beyond that, I need something to check…
-
1
votes3
answers480
viewsHow to load an ng-controller through ajax and inject it into the DOM
I am creating an application where I would like to load my modules through ajax. This application uses Angularjs to do the treatment of each module and these are injected into my DOM using Jquery,…
-
1
votes1
answer472
viewsHow to let a function run after some time?
I have a javascript code ( jquery ) and it performs a function when I move the scroll of the mouse, however, it performs the function several times when I take a whole turn in the scroll. I didn’t…
-
1
votes1
answer103
viewsOpen responseText on a new page
Is there any way to open the responseText directly in a new window? I explain: The code I use sends data to a PHP file that returns N messages. If I do the following…
-
1
votes1
answer1930
viewsMount playlist with items from the folder/directory and play the playlist in loop
Basically I would like to have a video player on my index.html that passed all the videos I have in a folder, that is, if I delete or move another video to that folder, the video player passes all…
-
1
votes2
answers1519
viewsSubtract date with javascript
I have the following problem, I have a date that comes from the bank and I compare with the current date, and I do the following: var dataAtual = new Date(); var partesData = dataAtual.split("/");…
-
1
votes2
answers75
viewsHow to fix these styles to circumvent reported error?
I am modifying inputs checkbox hiding them and calling labels to receive the function of checked. As you can see in FIDDLE and also in the codes shown below, when clicking in ascending order, the…
-
1
votes1
answer589
viewsRight column of fixed site
I have a layout with 2 columns. Left Column: Contents Right Column: Various Information when the user is browsing the site, scrolling down the right content ends up being visible only the left How…
-
1
votes1
answer893
viewsHow to optimize iframe load time?
I have a page with several "iframes" youtube that are taking considerably to load. I wonder if it is possible to decrease this loading time or if it is not possible, how to put an animation until…
-
1
votes3
answers3722
viewsHow to extend a DIV to the end of the screen?
Well I created a main div to hold all the elements of the page. Inside it I have 3 others divs: 1 menu bar, 1 sidebar, 1 content area. HTML: <div class="principal"> <div…
-
1
votes1
answer11340
viewsFloating Div in Bootstrap 3 accompanying Scroll
Good morning! I have the following code: <div class="container"> <div class="row"> <div class="col-md-5"> <?php $hostdb = "**********"; $userdb = "**********"; $passdb =…
-
1
votes0
answers881
viewsTake variable javascript and put in php
How do I get a variable sent by input in javascript to php? I looked it up online, but it’s not working. Personal thank you! JAVASCRIPT: <script> funcaoJavascript = function(){ var valor =…
-
1
votes1
answer2866
viewsHow to prevent the user from closing a page without submitting the form, but without using a dialog?
I have an HTML page that has a form. I need to prevent that, after the user fills this form, they click any other button on the page other than "Save". I found a script that solved this, but it can…
-
1
votes1
answer553
views -
1
votes3
answers1026
viewsHow to make an element with position Fixed stop "cutting" its contents when resizing?
Does anyone know how I can make an element with position: fixed; be responsive. That is, the contents on the left remain on the left and the contents on the right, when resized, remain on the right…
-
1
votes1
answer944
viewsIframe hiding content
I have a iframe which receives "interactions.php" which is a select. But the iframe hides content on account of height="100%". If I put height=20000px; he shows everything. How can I make everything…
-
1
votes0
answers571
viewsHow to make a side menu that expands by pushing the body?
In the style similar to that of this site here: LINK
-
1
votes1
answer951
viewsPage . html does not want to appear
I’m making an application with Angularjs. I have pages being called, however, a single, does not appear. Follow my codes: app js. var app = angular.module("vc", ["ui.router"]);…
-
1
votes1
answer493
viewsHow do I pass this image as a parameter?
The question is as follows, as I pass the image as parameter to use it in javascript with tried in the code below? HTML <!doctype html> <html lang="pt-br"> <head> <meta…
-
1
votes1
answer596
views -
1
votes1
answer39
viewsInvert PHP Xml view
How do I invert the display of an xml in PHP? Code: $xml = simplexml_load_file('link.xml'); foreach($xml->VERSAO as $versao) { ?> <tr> <td width="10%"><center> <?php echo…
-
1
votes1
answer874
viewsTwebbrowser load html pages (Forms) in sequence
I have a component TWebBrowser in the form that loads a page html (one Form), fills the data automatically and sends it through the command WebBrowser1.OleObject.Document.all.Item('enviar',…
-
1
votes2
answers1914
viewsEnable and disable function in jquery
I need to disable a function in jquery, for example, when I click on a div, a function that I set will no longer run, just when I click on another div it will work again. The function is loaded when…
-
1
votes0
answers29
viewsPage that reads the feed with title, image and snippet
I need to create a php page, with a site feed that displays the latest publications with name, image and a snippet. I was able to do the code, but it displays the full publication; * I would like to…
-
1
votes1
answer34
viewsUpdate dropdown when pop-up window closes
When filling a form I created shortcuts to add data to dropdowns list but when I close the window pop-up, refresh the entire page. I’m using the following code: window.onunload = refreshParent;…
-
1
votes1
answer110
viewsBootstrap Jquery error
I don’t understand why I get this error. I already entered all the scripts, and still nothing. I was reading that Bootstrap 3.3.7 should not work, but I need it for my tables and so on. someone can…
-
1
votes1
answer368
viewsFill textfield with the description corresponding to the value selected in a combobox
I have in my view a select that receives data from functions and lists. <select id="id_mfuncao" name="id_mfuncao" class="form-control"> <option value=""><< selecione…
-
1
votes2
answers3874
viewsHow to take the value of an input within a <td> in jquery
Ola, I have the following table in html <table style="display:none;" id="tableTime"> <tr> <td class="hora">08:00</td> <td class="eventoAgenda" id="0800"></td>…
-
1
votes1
answer477
viewsData php Pdo format
Input: <html> <form action="../controller/progPrecontrole.php" method="POST" onsubmit="return valid();"> <input type="hidden" name="id" value="<?php echo $id; ?>"/>…
-
1
votes1
answer38
viewsIncrease menu width jquery css
Naughty personal talk! : ) Great, I downloaded a menu in jquery on https://github.com/christophery/pushy/. I found it really cool. but I can’t in any way increase the width of the menu. I’ve changed…
-
1
votes1
answer878
viewsRecover ajax response value
I have a service that registers in a system (the code below) var userstocreate = [ { username: '' + usuario + '', password: 'E@d123456', firstname: '' + primeiro +'', lastname: '' + lastname + '',…
-
1
votes1
answer214
viewsWhat characters can I use to define a class name?
I know it is recommended to use letters and dash, but if I want to use a class teste1/10, which recommendation?