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
answers501
viewsPHP function on an html page
Because it doesn’t work: </head> <body> <?php include_once '../model/Cliente.php'; include_once '../DAO/Conexao.php'; $conexao = new Conexao(); $cliente = new Cliente(); $nome = "";…
-
1
votes1
answer1319
viewsSend message and update div without giving Reload the page
Good people, I’m developing a southbox and I’m here with a problem. I write something on Shoutbox and enter or click on enviar he refresh on the page.. I leave here what I already have .. INDEX.PHP…
-
1
votes1
answer492
views -
1
votes2
answers808
viewsHow to run a Vimeo video on the video tag
Need to run a video of Vimeo in the tag video, how to do? I found this here: <video src="http://player.vimeo.com/external/85569724.sd.mp4?s=43df5df0d733011263687d20a47557e4"></video> It…
-
1
votes2
answers558
viewsProblem with Session variable
On my website, I have a part of the code where two checkbox options should be shown for the check-in date case with difference greater than or equal to 72 hours (or 3 days) compared to today.…
-
1
votes1
answer95
viewsStrange character at the beginning of the site pages
I am developing a site in PHP and MYSQL and all pages are displaying the following characters at the beginning of the page:  Each page (index, about, contact...) when opened has in the upper left…
-
1
votes2
answers592
viewsWhen clicking on a name, appear in another div
I have a project developed in Bootstrap, which when clicking on link Products, will open a Modal ( from Bootstrap ) with the listed products. However, I would like that when clicking on one of the…
-
1
votes3
answers1096
viewsSend mail with form data
I have a form in a file html and needed to click on Submit the data were sent to an email. I tried to put on form, action="mailto:....", which was the only solution I could find, but when I clicked…
-
1
votes1
answer67
viewsWhy are the Ivs doubling?
I have a one-page code that’s happening something I don’t know about: I have two 100% wide containers, and each has other containers inside. However, after adding a new container with 100% width,…
-
1
votes1
answer225
viewsscroll with position:Fixed losing the right margin
When I scroll down, the div#chat, is fixed everything straight. However the problem is that the layout breaks losing the right margin. How can I solve this problem? $(document).ready(function() {…
-
1
votes1
answer1165
viewsManipulating url with javascript
I own a blog and migrated platform (Blogger -> Wordpress) and I also changed the domain. For newer articles I do not face any problem, however articles older than one or two years, there are…
-
1
votes0
answers584
viewsMove an object in the direction of the "onmousemove"
I’m trying to move an object in the direction where the person presses the screen, moves and then lets go. I tried to use some loops for (was the only thing I thought of) but without success. [if…
-
1
votes2
answers2015
viewsGenerate rows of a table with different colors with repeat loop
How to generate rows of a table with different colors? Each time the loop is executed generate a row with a predetermined color? Ex.: foreach ($data as $key) { echo '<tr>'; echo '<td>' .…
-
1
votes1
answer30
viewsEventlistener does not work with 2 or more inputs
So friends, I have a page with a for that makes create several Formulars. In each form I have an input file, which I want to handle individually. However, when I try to use an eventlistener, it only…
-
1
votes1
answer477
viewsCount characters from an input ignoring the maskedinput
I have a script to advance the cursor to the next field of a form when the current field reaches its character limit(source). When I tried to put the maskedinput gave problem, because the mask…
-
1
votes1
answer1017
viewsPHP variable with select(combobox) text
How to put the text in a php variable and not the value of an option? If it is java script, still as I put the text in the variable, because I need to work with this text. html example: <select…
-
1
votes2
answers315
viewsRequest Validation Asp.net
I have a Textbox that uses the text editor ckeditor. When I run the method to save the information, it gives an error A potentially Dangerous Request.Form value was Detected from the client…
-
1
votes1
answer315
viewsManipulate path from a form input sent to url
I’m testing a search field that sends what the user types directly to the site I chose (in a new tab), searching the site itself, and it works perfectly. However, I wonder if there is any way I can…
-
1
votes2
answers340
viewsHow to make after a while the color of a div change
Well, my question is this:. How to make a timer on a website, with a countdown of 30 seconds (Real-time), and when it reaches 0, the color of a div changes, even if no one is on the site this has to…
-
1
votes1
answer703
viewsChange the size of the button
I’m developing a footer in Jquery that I passed to this FIDDLE HTML/Jquery <div data-role="footer" data-position="fixed" data-theme="c" data-tap-toogle="false"> <div data-role="navbar"…
-
1
votes1
answer1951
viewsJavascript calculation and play in html table
I have an html table of 3 columns, the first 2 are <input type="number"> and the third is text. I want to play in the third the sum of the values of inputs using the onchange, but what I’m…
-
1
votes1
answer121
viewsReceive HTML Table in Controller (Springmvc)
Good morning, I have a page where the digital user 3 information. <input type="text" id="info01"> <input type="text" id="info01"> <input type="text" id="info01"> When typing the 3,…
-
1
votes1
answer512
viewsDoes sharing with Whatsapp work only with ANDROID systems?
I have the HTML code to share site contents on Whatsapp: <a target="_blank" href="whatsapp://send?text=http://www.guaraparivirtual.com.br">Compartilhar</a> Only that it only works on…
-
1
votes1
answer135
viewsOverride CSS from ui-disable class
I have a navbar as footer. The first element of navbar has the class ui-disabled not be possible to interact with it. Here is the FIDDLE HTML/Jquery <div data-role="footer" data-position="fixed"…
-
1
votes2
answers52
viewsProblem with <select> animation
Galera I set up an input system similar to android, the problem and I’m not able to do the same animation in select. Could someone help me? Follows the code: Code working jsfiddle NOTE: I want to…
-
1
votes2
answers1596
viewsGet cursor position with jquery
Is there any way to get the cursor position relative to the screen when I’m typing in a textarea? Ex: I type some character, call a jquery keyup function and take the position where the cursor is…
-
1
votes0
answers104
viewsCrystal Reports - RTF vs HTML
I am generating several reports with Crystal Reports, and as I could notice there are basically two ways to interpret formatted text (RTF and HTML). Taking into consideration the different styles,…
-
1
votes1
answer62
viewsHow do you make a spine stick when it reaches the extremities?
In a two-column layout, if the first is larger than the second (height), there will be a blank space in place of the second when we scroll the page to a certain point. I want when I get to the end…
-
1
votes3
answers3076
viewsRefresh page when popup closes
How can I update a page after closing a popup? After the user opens the popup, I give a series of options that change the page where the user opened the popup and need that updated page after the…
-
1
votes3
answers369
viewsQuery output on another page
I wonder how I can make the result of a query on a page of mine, fill in a tag on another page; Example: I have a search page the amount of existing processes, when I click the button, let’s assume…
-
1
votes1
answer6725
viewsPHP - How to insert a variable link into a variable href?
I’m trying this way: <?php $link = "'index.php?id=echo ['post_id']; " ?> <?php while ($row = mysql_fetch_array($result)) { echo "<span class='survey-name'><a href='$link'>".…
-
1
votes1
answer134
viewsProblems with html formatting
I have an image upload with text on a website and after inserting shows the images and text. The upload saves the images in a folder and yours path in the database. It’s supposed to look like this:…
-
1
votes2
answers972
viewsHow to change the data type in $.post request in jQuery?
var envio = $.post("processamento/busca.php", { unidade: $("#unidade").val() }) I have this request, I would like to change the datatype to json, in ajax you have a datatype parameter, but I don’t…
-
1
votes1
answer2996
viewsGrab Content from another page with jquery
I want to create a way to open this page of Sptrans in an app, but without loading all their layout, only the fields: LOGIN, PASSWORD and REGISTER, using only HTML and JQUERY. The elements I need…
-
1
votes1
answer1465
viewsWhy does this error appear when I include a php file
I have the error problem  every time I try to include a file. I am working on an application. When trying to include another php file simply create a space on the page where the characters…
-
1
votes1
answer1491
viewsFloating Button Over Text and Images
Hello, recently I made a floating button of live-support, it works all right, moves along with the page and is fixed, however it, when moving along with the page, goes under texts and images, IE, it…
-
1
votes2
answers309
viewsNG-SHOW in Angularjs after Filter application
Hello, the code below works 99%, I only need to put ng-show on < H5 >, but I’m not getting it. The criterion: is to display the group name only if the group item exists in the list after the…
-
1
votes3
answers618
viewsHow to make certain words within an editable div stay of one color?
I have a DIV which is editable by the user, only that I wanted when ee write Brasil it stays only this word green tabem as EUA turns red, but only certain words. Code of the IVD: <div id="texto"…
-
1
votes1
answer411
viewsStyling a bar menu via CSS
Good morning guys I’ve been thinking about how to style my menu, and I had an idea, I was wondering if it’s possible Is there any way I can use a css effect that makes part of my menu select? For…
-
1
votes1
answer856
viewsJquery video final event
Good morning, I have a problem, I wanted to display a modal at the end of each video, in the first video it worked right, but in the second I’m not getting... Follows code below... If anyone can…
-
1
votes2
answers1139
viewsPHP - How to fill a field using Curl?
What code do I use to fill in web page fields with cURL? These are the fields: Campo Nome: <li> <label for="supporter_full_name">your name*</label> <input class="textbox"…
-
1
votes1
answer2125
viewsHow to allow only letters and numbers in a text box
I’m making a form and the first solution I saw was to create a keyboard with buttons with only letters numbers the erase button and the space button but now what I really wanted was a box that…
-
1
votes1
answer130
viewsThe width of my site is not equal, header is smaller than the rest. How to resolve?
The width of my site is not the same as can be seen below: The header (logo bar, navigation and main image) is smaller than the content of the site, I am using Bootstrap. The CSS with the measures…
-
1
votes1
answer55
viewsWhen you don’t have news
Hi, I have a news system and wanted a message to appear when there was no news in my database. Code: <?php $news8 = mysql_query("SELECT * FROM 10cms_noticias WHERE status = 'Ativo' ORDER BY ID…
-
1
votes1
answer1197
viewsIs there any way to save the input value to a Session?
I need to save the value typed by the user in a input unused form. I thought about SESSION, but I don’t know any way to do that. There is a? The input: <input type="text" name="valor"> I want…
-
1
votes0
answers39
viewsClient-side Browser Cache Problems
There was a problem with my application that I developed here at the stage. I’m making my server machine for a web page that I developed. Only, after a few visits by customers' parties to our site,…
-
1
votes1
answer239
viewsShow image inside mobile bootstrap menu
I need to make sure that when the user is on a mobile/tablet/ipad inside the menu (those 3 scratches) an image like the Google menu appears. That’s the picture of how I have to leave: Does anyone…
-
1
votes1
answer111
viewsTop of the menu!
Well, as you can see, the top is a black banner, the web size is normal, but when I decrease, I see to test the responsive, I see that the banner is getting below the menu. The division of the menu…
-
1
votes4
answers6129
viewsGrab <a> tag link with javascript. For active menu script
I am making a template and need to put the page active with color different from the other buttons. For this I need to take the contents of one and compare with the page link. If it’s the same I put…
-
1
votes2
answers239
viewsClick and add id to the array. If you click again, remove this id
I have a problem, I have a list and when the user clicks it adds the id of this <li> in an array, but I want when it click again on that <li>, this id is removed from id. Here it is in…