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
-
2
votes3
answers4509
viewsPrint orientation using Javascript, CSS, HTML or PHP
Is it possible for me to "pre-set" the orientation of the page, when the user is already printing is marked as landscape? (Landscape) My case is the following, I’m code similar to this example…
-
2
votes2
answers52
viewsCase sensitive in the form method?
I always use method="post" (minusculo), but searching tutorials on the internet, most use method="POST" (capital), is there any difference this? can cause problems?
htmlasked 8 years, 9 months ago Guilherme SpinXO 714 -
2
votes5
answers1111
viewsHow do I leave the page open marked in the menu?
For example, on this site when you are on any page is marked in the menu with a border-top: http://w5.com.br/index.html I wonder how I do it, I’ve tried visited in css and nothing...…
-
2
votes1
answer1232
viewsCreate dynamic form array in PHP
Good evening guys. How do I get the information from a form with dynamic inputs in array? Dynamic inputs is when the user clicks on a button asking for more inputs.
-
2
votes0
answers160
viewsSearch the page with Javascript with IE
Good morning! We are creating a super simple HTML page even for a small document that some users will access. In this document we have a form (input text) of search that will have to return through…
-
2
votes2
answers6785
viewsImage upload with Jquery
How to upload image using Jquery? This is a question that has been chasing me for a long time, I hope you can help me. Well, I’ve been researching and I saw that you have a plugin for this,…
-
2
votes1
answer364
viewsAlign form elements to the center?
How can I center input/textareas (but I want the label to stay on the left)? form { width: 700px; color: red; } form textarea,input { display: block; margin: 0 0 30px 0; } <form> <input…
-
2
votes2
answers13081
viewsStoring data from a form
I would like to know how to store data from a form, there will be a presentation in the course and I would like the people who access my page to leave a comment about what they thought... I was…
-
2
votes3
answers347
viewsRetrieve the input from a class array with javascript
I’m trying to add an eventListener, click-type, to my Ivs through their classes, which are called: option-title. However as it is more than one title, I would like you to recover exactly the one I…
-
2
votes1
answer51
viewsHow to stay with the selected item in a select after page transition?
What are the best ways to stay with a selected item in a select after page transition (Go to a page and then return with the already selected fields) using ASP.NET MVC? Session? Cache? Tempdata?…
-
2
votes1
answer756
views -
2
votes2
answers3467
viewsHow to edit HTML table data with jquery
I am creating a registration page where I can only use HTML, jquery and css. Once registered, the information must be in a table below and this table, the data must be able to be changed However,…
-
2
votes1
answer6060
viewsDarken background when opening modal window/div
I tried to create something like modal, thus: .try-modal{ position: absolute; top:35%; left:25%; right: 25%; width: 50%; height: 400px; background-color: white; z-index: 2; } I call to <div…
-
2
votes1
answer2621
viewsHow to decrease the spaces between the edges of a table in html?
I have a table and would like to remove the spaces between the edges! How can I do this? <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;…
-
2
votes1
answer2819
viewsHow to put a text box in javascript
I would like to know how to put a text (input) box in javascript, to be more specific, within a given cell of a table (generated through an array). From now on... J.G.. <!DOCTYPE html>…
-
2
votes3
answers9781
viewsHow to make a "Submit" in javascript?
I am making a very simple game in html and javascript, the idea is that the user put the result of each operation, and if it is right, appear an Alert for it. I wanted to use table because I want to…
-
2
votes2
answers205
viewsUnwanted 1px space in Internet Explorer
On my website, below the footer is a space of 1px that only occurs in Internet Explorer. In my case, I’m using the IE-10. The footer has fixed positioning, I inserted it outside the container of the…
-
2
votes1
answer287
viewsAdd and remove content using javascript
Speak guys, I don’t usually ask for help I don’t know if I’m in the right place, but I have a javascript code of an html page that I want to use in a project, this code makes the following call,…
-
2
votes2
answers413
viewsMy jquery Cycle 2 slide code does not work. Wondering where the bug is?
I’ve been trying to get this slide to work for a long time, but it doesn’t work at all, I wanted help from you. My Html code: .slideshow{ width:100%; max-width:980px; overflow:hidden; height:505px;…
-
2
votes2
answers87
viewsKnow if the page is in the background
Is it possible to know if the page of my site is being visited in the background by the internet user? Is there any code or way to know?
-
2
votes2
answers109
viewsproblems deleting file from unlink()
i would like to delete a file in the file, and nothing is going well of the following Strict standards error: Only variables should be passed by Ference could you guide me to resolve this error?…
-
2
votes2
answers3787
viewsShow Tabulated in HTML Table
My problem is this, I can only display the results in one alert, how I would put the values inside a table? <title>-Calcular tabuada</title> <script type="text/javascript"> <…
-
2
votes1
answer2607
viewsProblems to click links/buttons in IE using VBA
I’m having a problem to automate downloading data from a site using VBA. The first part goes well, the browser enters the desired page and inserts the criteria into a dropdown list. Just click on…
-
2
votes1
answer274
viewsHow to recover the value of multiple dropdownlists (only filled)
How can I recover the value of several dropdown (only filled) The function below does not work correctly. For example, if I select only the second combo has as output: ,2 It picks up the void as if…
-
2
votes1
answer217
viewsClient sending String[] instead of Bigdecimal to server when changing
When it’s a re-registration works peacefully, the problem is in the alteration. I own an object To who is the master, another object B which is a ArrayList and detail of the master To and finally,…
-
2
votes1
answer396
viewsHow to insert value into html attribute with javascript
A doubt How to insert a value into a href="" attribute with javascript
-
2
votes3
answers61
viewsMultiple entries in class attribute do not work
I want to show a simple Alert in php with bootstrap but I’m not getting the code is this: echo " <div class=alert alert-success role=alert>Logado com sucesso</div> "; But you’re playing…
-
2
votes2
answers2005
viewsUpload photo taken by mobile shows rotated image
I have a system with a Photo Upload page. It’s a simple photo upload where you click on input, selects the image and end. After just submitting the form, the image is saved in a folder, and in…
-
2
votes2
answers427
viewsUsing $tempo = date("d/m/Y H:i:s",time()-86400); to delete past schedules
I am using this code to delete schedules with dates and times already past the current time. <?php while($res = mysql_fetch_array($select_agenda)){ $id = $res['id']; $nome = $res['nome']; $tel =…
-
2
votes1
answer1195
viewsHow to change the position of bootstrap elementals?
I wanted to change the position of elements of a page formed in bootstrap As I present in the following images as I resize the page the buttons [EN][PT][ES] change positions and I believe it is…
-
2
votes3
answers11617
viewsProblems with special characters Html5 bootstrap
I’m having problems with my html, the page does not recognize the special characters. <!DOCTYPE html> <html > <head> <title>Verde</title> <meta charset="utf-8">…
-
2
votes1
answer139
viewsHow to slide text inside an input in Hover?
I have an input with a fixed width, but sometimes the content exceeds the width of that input. Somewhere I saw a solution that by hovering the mouse(Hover) in the input the text inside the input…
-
2
votes2
answers6584
viewsMultiple checkbox and save to bank
I have a form on which I will be able to mark several checkbox at the same time and wanted to know how I identify those marked and save them in the database. On the bench I’ll have a table and a…
-
2
votes3
answers122074
viewsPlace text next to image
I’m trying to put an image and a text on the side, but I’m not getting it. The text is under the photo or I can put the first sentence of the text on the same level as the top of the image on the…
-
2
votes1
answer434
viewsCan I save and upload text file to an iframe or openWYSIWYG?
I really liked the code to save and load text on textarea of a post here. But I wonder if you have any similar code to do the same function with a iframe instead of textarea or that works properly…
-
2
votes2
answers9850
viewsHow to input accepting only letters?
I am making a form and the user has to type only letters in the field of his name, I want to block for him to type some other type of character ah not be the letters, how do I do? I am programming…
-
2
votes3
answers4204
viewsDiv exceeding Modal width limit
How to render the following content without it exceeding the limit width of modal? Current example of rendering: Code: <div class="modal fade" style="width: 100% !important; height: 100%…
-
2
votes1
answer301
viewsToggle css class in a Nav toggle, using Jquery
I’m making a menu with a toggle using Jquery. The menu is working perfectly. I’m using a class from Font Awesome to show the icon on the button to activate the toggle. I want to change the class…
-
2
votes2
answers527
viewsTable with width 100% and Scroll
I have a table, where it fits the content you have. That way, I added a width: 100%. She’s the size of a window. I gave an overflow-x: auto, so she should create a scroll, when smaller. But that’s…
-
2
votes3
answers840
viewsCountdown, split time by div
I needed help with this countdown system on how I could divide |DIA|HORA|MINUTO|SEGUNDOS| into each div Example: Div day would display the day Div hour would display the hour Div minute would…
-
2
votes1
answer2654
viewsHow to add onclick event to play audio on canvas?
By clicking on an image I want to perform a sound. How can I do this function using the event onclick? Code: window.onload = function myCanvas() { var c = document.getElementById("myCanvas"); var…
-
2
votes1
answer9081
viewsAlign div in footer inside another div
I have a DIV content that includes another called Images, I would like div images to be at the bottom of div content with a certain space that I could define, ex: 400px, but this happens: I’d like…
-
2
votes1
answer836
viewsSingle login system
How to create a single login in PHP? That gives access to multiple sites for the user, without having to login to each site. Like Google, which with a single login, you use Google and Youtube.…
-
2
votes1
answer761
viewsChange the value of a <H1> with jquery?
I’m making an ajax call and need to change the value of the tag <h1> with the Sponse: $('#openTickets').ready(function() { var open = $.ajax({ time: 15, url: "/opened-tickets", dataType:…
-
2
votes1
answer752
viewsHow to hide div when selecting radio options
As trivial as it may seem I’m having trouble executing this script, the problem I have is this, when entering a page I show a div with selected content from my database and this is being done…
-
2
votes0
answers163
viewsProblem in jwplayer + Chrome combination
Hello, I am using jwplayer in a web application and am finding a problem with Chrome to execute the commands of the tool. The problem occurs when it is clicked on "play" for the second time. When…
-
2
votes4
answers31463
viewsOnclick calling two functions at the same time Javascript
Good morning, it is possible when clicking on a button run by onclick two functions at the same time, ex: two different Alert?
-
2
votes2
answers89
viewsClick an H3 and focus on a form field
I am organizing a contact form, divided into several parts. One of the things I need is that when the user clicks an H3 (but it can also be a div, anchor or button) a specific field of this form is…
-
2
votes2
answers257
viewsdomain after @- HTML
Could someone tell me how to do input only accept an email with a certain domain and reject another ? Ex: [email protected] - ok [email protected] - erro HTML <input type="text"…
-
2
votes1
answer122
viewstwo different Patterns in the same HTML input
Hello, I wonder if there is a way to put more than one Pattern as an alternative to the first in html for example, a person can only use Gmail.com and Hotmail.com, so that they fill in with a OR…