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
votes0
answers87
viewsIntegration between Php and Word
It is possible to integrate php and word, take some values from a field of a given form and put in Word. for example in a contact form have $name , and if I want to put in Word $name so that the…
-
0
votes2
answers59
viewsTop calculation on scss
I have a container that has a variable height, depending on the computer resolution. I need to calculate when top should use so that the content is centralized. I tried something like: .container {…
-
0
votes1
answer221
viewsItems navigation type <select> mobile
I have a responsive site with INPUT’s and SELECT’s items, but by browsing Chrome Android , by the GO KEY key on the virtual keyboard, when I’m focusing on an item, and the next navigation item is a…
-
0
votes1
answer162
viewsNested dropdowns don’t work. Why?
I have a dropdown inside the other. the first one works, it opens the dropdown to the list of items. I tried to put another dropdown inside that list but it doesn’t work. Listing and connection do…
-
0
votes0
answers627
viewsChange button text by clicking with Jquery
Good afternoon! I am trying to change the text of a button whenever it is clicked. (ONCLICK) The problem? Well, apparently all buttons have the same class and I don’t have access to HTML, only WP js…
-
0
votes1
answer179
viewsDynamic form in PHP and Mysql
need a dynamic form that operates as follows: The page should generate Y textboxes according to a Y number in the bank. My reasoning is this:: a. I select in the bank to see the number b. I do a…
-
0
votes1
answer126
viewsButton running one function in js and another in php
Good afternoon guys, I’m having a doubt would have as soon as I clicked on the button it called a function in js and another in php? I have a problem I want a variable in case $name receives the…
-
0
votes1
answer87
viewsShow fields if different from 0 (zero)
How to show the fields of each record in the table if the product field is non-zero ? </td> </tr> <tr> <td><?php echo $customer['produto2']; ?></td>…
-
0
votes1
answer145
viewsJquery Javascript tab system
I have a system with tabs on JS/Jquery, that to unite with the Owl.Carousel he gives a bug a bit strange, I’ve tried everything to fix the error and do not understand what may be causing the…
-
0
votes1
answer148
viewsHTML classes in menu with Wordpress
I’m developing a theme with Wordpress and I would like the same to possess a menu dropdown. I created some pages like Home. Quem Somos, Contato and a category called Produtos would like the category…
-
0
votes1
answer1149
viewsClose connection to the database
I wonder if anyone could ask me the following question, I make the connection to the database in PHP this way: $conexao = new mysqli($servidor, $usuario, $senha, $nomeBanco); And close the…
-
0
votes1
answer47
viewsPut JS only in a div
My question is this, I have a div I need her to have a less up-to-date version of js. My page has the Bootstrap 4.1 and need to rotate the jquery 2.2.3 in the div, where the most updated version…
-
0
votes0
answers39
viewshow to format the select option when hovering over
How do I use css to leave the selected option with a certain color when hovering over?? <select> <option>werwe</option> <-- quero deixar esse cara em laranja ao selecionar…
-
0
votes1
answer337
viewsError with custom inputs
Hello, I’m using a script to add input fields to a div: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script type="text/javascript"> //…
-
0
votes0
answers305
viewsOwl.Carousel action of the NAV buttons
Duplicate gallery of Owl.Carousel makes it Nav custom move the amount of galleries instead of 1 position at a time. To Nav Standard works normally running 1 in 1 position. On the personalized Nav…
-
0
votes0
answers45
viewsBrowser opening JSON
I have a validator that returns a JSON to a . js that reads this JSON and displays the error messages or releases Submit. However, sometimes the browser opens JSON itself instead of showing the…
-
0
votes1
answer48
viewsJavascript in several html’s
I am learning and using Javascript and would like to know if it is possible to use scripts from a . js file in several others. html, with functions and everything. If possible, just call the file .…
-
0
votes1
answer90
viewsHow to rewrite a URL
Good afternoon, everyone. Could you help me with my question ? I wanted to rewrite a URL. For example: <a href="#Contato">Contato</a> which points to a DIV Contact ID, however, the URL…
-
0
votes1
answer356
viewsAnchor scrolling
I need to make an anchor on my website and at the moment I have the following script: <script> $(document).ready(function() { window.location.href='#foo'; }); </script> It directs the…
-
0
votes1
answer227
viewsLoad external JS in Cordova + Windows 8.1 app
Currently I have developed an html app with Angular where I need to make a transparent checkout in Pagseguro. To this end they ask for the inclusion of an external JS: <script…
-
0
votes1
answer52
viewsMake Up button to Start appear in a certain part
I would like to create a button to go up to the top, but I would not like it to be always visible, only when the page reaches a certain part
-
0
votes0
answers92
viewsSending html and php email problems ( via outlook), limiting message
I have a qto problem sending emails via php and Html, have a button that opens the outlook already with the email fields, subject and cc filled, in the body of the email comes already filled tbem…
-
0
votes2
answers158
viewsPrevent a scroll from appearing in horizontal html
Guys I’m configuring my css but it appears a scroll horizontally already tried in various ways and nothing! Follow the code: @charset "UTF-8"; body{ width: 100%; height: 100%; background-color:…
-
0
votes1
answer72
viewsHow to get the first 5 xml records?
<?php $xml = simplexml_load_file('http://g1.globo.com/dynamo/economia/rss2.xml') or die("erro carregar arquivo"); foreach ($xml->channel->item as $noticia) { …
-
0
votes1
answer2915
viewsPick table value with jQuery
I would like to take the value of one column of the table, but in a way that I could reuse the function to take values from other tables. I tried it this way, but it does not present me anything on…
-
0
votes1
answer46
viewsScrolling is not working
I have a problem on a site I’m creating, the scrolling effect I did on Js is not working properly, I put a console.log() to know if at least the event is running and is, the only problem is that…
-
0
votes2
answers950
views -
0
votes1
answer65
viewsHow do I set up Dropzone JS to receive an image just by typing CTRL+ V, so that it accepts text and images together?
I was watching the outlook and the email edit field gets images via CTRL+V, searching found that this would be a Dropzone component. I would like to know how to set up. Below the example of outlook.…
-
0
votes1
answer36
viewsHow to make the table more dynamic?
I have to create a little game. It’s a one-word table. The letters of the word will all be mixed and the user has to write the word correctly by clicking on each letter before the time ends. I’m…
-
0
votes1
answer625
viewsSpacing two Ivs with bootstrap
I’m two Ids that are glued together and I wanted to give them a vertical survey, but I’m not doing it right. I’m wearing the bootstrap space between the file button and the save button in case…
-
0
votes1
answer121
viewsHow to change the caption of a Primefaces line chart?
I’m looking to change the font size and the square of the caption of a Primefaces chart via Javascript. My code: <script type="text/javascript"> function alterarGrafico() {…
-
0
votes1
answer64
viewsHow to use JSON
I have a link to an API (https://api.tibiadata.com/v2/characters/Norkx.json) I was wondering if there’s any way I could get "name":"Norkx", "Sex": "Fri", "Vocation": "Royal Paladin", "level":407,…
-
0
votes1
answer95
viewsBlock mobile browser popup by pressing screen element
Description: A friend is developing an application in which a web page is accessed and when interacting with the elements is sent to a file PHP controls to manipulate a robot with the Arduino. For…
-
0
votes0
answers143
viewsMove a <div>
How could I move this DIV using javascript? function randomization() { var randomValue = Math.ceil(Math.random() * 5); return randomValue; } function playerMovement(direction) { switch (direction) {…
-
0
votes2
answers2445
viewsWhy doesn’t Css work?
i have some questions in this code. I would like to use open sans font in the text, that the text be aligned up in the table. Can you tell why css does not work applied to html? Remembering that the…
-
0
votes0
answers24
viewsFailed to call php in Submit a button
I’m trying to run a php script on Submit from a button, but php is called I get an error on inlcude - "failed to open stream: No such file or directory in "I called php by a include off the button…
-
0
votes1
answer35
viewsDivs piling up
I’m trying to make a grid with 4 Divs of 25% width, but they’re not properly stripping, who can save me? I’ve wasted hours and hours on this! HTML OF THE PARTY: Buy your credit card certificate now…
-
0
votes0
answers213
viewsOpen Google app by a web link on Android
how to open the gplus app via html, social networks like facebook, is fb://o instagram:// and google+ can not find, for Ios uses gplus://but not sure to open the android app
-
0
votes2
answers42
viewsProblem with jQuery in display
Guys I’m having a problem, https://jsfiddle.net/1qd6yj8w/8/ where when the user clicks on the photo - needs to change image, this is already in the test , however the user when clicking on the image…
-
0
votes1
answer220
viewsHow to create a dynamic search box?
On this website - http://www.euescolhiesperar.com/ - when you type in the search box, the results appear instantly without being required to press enter. How can I do this in Blogger? Thank you!…
-
0
votes1
answer286
viewsAJAX no response from SUCCESS
First of all, this code is just a small part of the complete code, I’m having a simple problem, but I couldn’t solve it. First, I have an HTML form, which sends by POST method, the values of the…
-
0
votes1
answer248
viewsPopular form already created with PHP(Mysql)
I need to populate a form with Mysql database information in the onChange event of a Select input. I know how to create a form from 0 by filling the values property, but filling a form already…
-
0
votes1
answer62
viewsIncluding the same content for several pages
I’m developing a website that will have a growing number of pages. I would like to know if you can help me in how to include the same content on several pages as follows: All pages are extended php…
-
0
votes2
answers697
viewsFixed div passing behind the others
Hello, the first div of my site has the fixed position (position:fixed) and when I roll down, it gets behind the other elements like images and etc. It doesn’t work even if I put position:absolute…
-
0
votes1
answer141
viewssetar background color do radio button via javascript
I’m learning php and tried something I do on Asp.net but it’s not rolling. I have a page that gets values from a previous page via _GET. In it I have radio type input that I want, that when clicking…
-
0
votes2
answers4346
viewsHow to center and position side by side two images? html css
HTML: <div id="ladoalado"><img src="imgs/login.png"><img src="imgs/cadastro.png"></div> CSS: #ladoalado{ float: left; margin: auto; } Code image:…
-
0
votes1
answer30
viewsHow to use FILTER_VALIDATE_IP for an array?
<input type="text" name="ip[]"/> <?php $ip = $_POST['ip']; if(filter_var($ip, FILTER_VALIDATE_IP)) { echo("$ip is a valid IP address"); }else { echo("$ip is not a valid IP address"); }…
-
0
votes1
answer45
viewsDetect field type sent in PHP POST
There is how to identify the type of field that is coming in a post? Whether it’s Text or Array? Example: I have listbox (select Multiple) and text fields in html, and in it the user may or may not…
-
0
votes0
answers32
viewsForm - Take data with PHP
I’m a beginner in this part of creating websites, I’m making a site where will have a registration form, and I want this registration to go to a database, or a page that can access all the records…
-
0
votes1
answer345
viewsMail() -> white attached php file
I created an html page with a modal with a form that sends the data filled in the fields and also sends an attached file. I get the email and the file, but when downloading the file and opening it…