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
-
4
votes1
answer1006
viewsNew row in table every 3 columns
I have a table that has to have 3 columns per row. The data of the 3 columns I take from the database. My problem is that when I display 3 columns, I want the next results to appear in the bottom…
-
4
votes2
answers844
viewsWhy does this menu not work in the mobile version?
I was looking for some menus/layouts templates and found that very cool, but when I googled to the mobile view when I clicked on the menu the 1st ball came and went, instead of seeing all of them…
-
4
votes1
answer3192
viewsContainer that adjusts to 100% window height and width
I wanted to create a container or a secção which automatically adjusts to the height and width of the screen, which even when resized to secção adapts to the size of this, followed by another type…
-
4
votes0
answers133
viewsUncaught Typeerror: Object is not a Function. Clone html and Back button
I’m having a system problem where I need to make a button for come back and thought of a function to clone using and a function for the button come back. But the problem is that when I log in to the…
-
4
votes1
answer6781
viewsCalculate distance between 2 points in Google maps
I don’t have much experience with javascript and have no idea how to get the result of this script and move to a field <input text>. This script calculates the distance and time between two…
-
4
votes3
answers598
viewsIs it possible to assemble default layout for HTML pages?
If I have two pages: pagina1.html and pagina2.html, that are very similar, it is possible to use a page layout.html to determine common elements of each page? And thus also avoid the repetition of…
-
4
votes2
answers1186
viewsBlock access to javascript files
I have a javascript file that makes ajax requests to my API only I do not want anyone to discover her link there is some way to block access to this file ? If there is no way to release so only the…
-
4
votes1
answer461
viewsHow to use Helvetica font or other on a website, and make appear any PC?
I’m having font problem on a website, I’m using Helvetica, but on other Pcs that do not have this source it does not appear. How to make everyone see with this source?
-
4
votes2
answers4875
viewsCreate Editable Table
I would like to create a table where your cells can be edited but meet certain requirements. What I have is this: HTML <table class="table table-striped table-bordered" id="vendaTabela"…
-
4
votes2
answers11358
viewsHow to customize upload file button?
I have a file upload button: <input id="file" name="file" type="file" /> He’s like this: I want to remove this description "No selected file" and customize the text of the button. Can anyone…
-
4
votes6
answers30079
viewsHow to insert HTML with Javascript?
What is the simplest way to insert HTML into an element through Javascript?
-
4
votes4
answers174
viewsIs it possible to use PHP in a data-title field?
It is possible to use PHP within a field data-title? I have the following code: <div id="grid" class="m-row shuffle--container shuffle--fluid"> <? $result = $connection -> query("SELECT…
-
4
votes1
answer1180
viewsAlternative to converting Word to HTML
I maintain a site that does not have CMS and often receive requests from the customer asking to put a text with a predetermined formatting. Usually these texts come in . doc or . docx format from MS…
-
4
votes1
answer448
viewsYou can block the Arrow from the DATE field
Would there be some way to block that little arrow there ?
-
4
votes1
answer1790
viewsDivide in circles with responsive layout
I’m trying to make a page that contains div in circles and which fit one below the other when the layout decrease, for example, to cell phone sizes. With the common size I would like them to be 4…
-
4
votes2
answers174
viewsThe less consultation the better, right?
It is possible to vary the writing of the results, as an example below where I want to use. <table width="1000" align="center"> <tr> <td> NOTICIAS</td>…
-
4
votes2
answers727
viewsHow to display a hidden CSS select using Javascript
I have a contact form on a decoration site, except I’m looking to perfect it by putting a select only hidden, Example, my request form, Name, E-mail, Telephone Area Code, Event Date and Decoration…
-
4
votes4
answers966
viewshyperlink mailto on button
I have an HTML hyperlink to send an email through the mailto: <a href="mailto:[email protected]?Subject=Hello%20again" target="_top">Send Mail</a> The problem is that in the source…
-
4
votes2
answers257
viewsSimulate browser without HTML5 support
I am developing a website that can be opened in a browser without HTML5 support (canvas, etc). I would like to perform tests, just change the User Agent or there is a specific tool?
-
4
votes2
answers5048
viewsHow to make a progress bar with steps?
How could I make a step progress bar using Html5, css3 and js? An example to clarify what I need to do: I prefer to do it from scratch, but is there any library ready for it?…
-
4
votes1
answer1705
viewsLimit the number of characters of javascript decimals
You can enter values into an input text. What happens is that I want to limit the number of characters after the point. Valid example: 2.324 2343423.432 That is, the user cannot enter more than…
-
4
votes2
answers954
viewsCss change in iOS only
I need to make a css change on iOS only, I used if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {} But it didn’t work. The code I need to change is this. .sdn-music-player>.yt-wrap>iframe…
-
4
votes1
answer575
viewsAdd input and output and subtract
I have this code: $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name='entrada']"), function() { $entrada += parseFloat($(this).text().replace(",", ".")); });…
-
4
votes1
answer264
viewsDoubt onkeyup javascript
When I type in input any word, the typed text goes to uppercase. In Mozilla Firefox and Internet Explorer I can turn back the indicator that keeps blinking to type a letter and I can edit it…
-
4
votes2
answers541
viewsHow do I check if my application is open on mobile or web?
I need to do a.css style for mobile and another for web .
-
4
votes1
answer807
viewsPhp code is commented in html
I am creating a captcha in a registration form, and I am calling the image with a php command, but the captcha image does not appear in the form, and when I enter the browser console the php code is…
-
4
votes2
answers1718
viewsHow to place two Ivs next to a container?
How do I place two Ivs, one on the left and one on the right side of a container with the bootstrap? Since you would like the side Divs to increase in size depending on the screen.
-
4
votes1
answer1607
viewsHow to put into a variable only the text that was selected within a textarea?
With var texto = document.getElementById('texto').value; I get everything that’s in the tetxarea that has this id, but what if I want a partial text? For example the whole text is this: Germany…
-
4
votes1
answer1835
viewsphp registration form NO database
I am learning php and need to create a form using only html, jquery, ajax and php without using database. The data must appear in a table below the form I was instructed to do using Session,…
-
4
votes2
answers191
viewsCustomization scroll bar
Today, can we use CSS only to change the customization of the scrollbar of a DIV? If yes, how can I do it. Otherwise which script is best and how to use it?
-
4
votes1
answer329
viewsHTML printing - PHP
Next... I have an HTML structure formed by TABS, the style of these link: http://www.codecovers.eu/materialadmin/ui/tabs#second1 But when printing with Ctrl+p just call the TAB that is Active. How…
-
4
votes1
answer243
viewsHow to remove required HTML5 validation icon
How to remove this icon marked above in the image?…
-
4
votes2
answers81
viewsIf I call a Javascript file, is that code visible in the browser (browser)?
I know that when I write code directly into HTML pages Javascript is shown but what if I call only the file, for example, like this <script src="script.js"></script> The code will be…
-
4
votes1
answer454
viewsReturn Partialview with validations for a Modal ASP MVC 4
I have an Index screen, where is the table of registered people, on the same screen I have a new button that calls a Modal(boostrap) this way: <a href="@Url.Action("Add", "Pessoa", new { area =…
-
4
votes1
answer117
viewsDoes having the layout ready facilitate development with MVC?
I’m learning to program and study dozens of things at the same time because programming is my job. What I’d like to know is about MVC. I imagined that in relation to the MVC, the V of view should…
-
4
votes1
answer126
viewsProblem with Bootstrap menu
I made a menu customizing using Bootstrap, however, I am having a problem when I decrease the width to <=767px and click on the button to expand the menu. I know this problem is due to menu…
-
4
votes1
answer960
viewsWhat would be the best way to make a "vertical text" in HTML/CSS?
I would like to know from you how best to do these types of text alignment as in the example (vertical alignment, with letters up, "vertically straight". And vertically aligned with the edge of a…
-
4
votes2
answers2072
viewsHow to do that when submitting a form within an iframe, the page that has iframe is redirected?
I’m creating a page that works like this: The person accesses a registration page, and within that page there is a iframe with the registration form. When a person clicks inside the iframe in…
-
4
votes2
answers10294
viewsEnable/Disable button according to field validation
I am performing date validation for two fields <input type="text"> with the jQueryFormValidator: $.validate({ modules : 'date' }); <script…
-
4
votes1
answer177
viewsHow to disable default value in Kendo dropdownlist?
I have a Kendo grid and I’m creating a template for editing the data presented on the grid, but I’m having problems with the code below... This is part of the code of my template: <script…
-
4
votes2
answers1474
viewsButton next to input text bootstrap 3
I’m having a problem that I can’t put my input file button next to my input text. I’ve done some research, tried some things I’ve seen and nothing. Maybe it’s pretty silly, but I’m kind of new to…
-
4
votes1
answer561
viewsHow to convert jQuery’s . on function to pure Javascript
Today I started trying to turn a function I’m using into jQuery (which @José helped me implement in this answer) to .on, for pure Javascript, but I’m facing some difficulties. The online courses I…
-
4
votes1
answer229
viewsChange image src when input value is equal to a given value
Good night! I have a login input and an img with the user image. I am trying to change the user image when this input loses focus and if the entered value corresponds to a given value. ex: if I type…
-
4
votes1
answer140
viewsWill users from other platforms see my website fonts?
The question is simple: I have a website, its default font is Segoe UI normal, and the Segoe UI Light, the site uses only these two. In Windows, the site appeared correctly and without problems, now…
-
4
votes5
answers1294
viewschange the title of a Window confirm()
I wonder if somehow I could change the title of a window confirm(), because I’m developing an app using phonegap and when called this window it presents me the title with the name of my html file, I…
-
4
votes3
answers1573
viewsAvoiding line breaks in text areas
I have a normal textarea <textarea placeholder=" Digite aqui" class="form-control"></textarea> I wanted that when the user pressed enter, it did not break line and already send the…
-
4
votes1
answer591
viewsCan we use {variable} in Codeigniter Views?
I know we can use Views.html file in Codeigniter, now I wonder if we can use tags {variavel} directly as in Smarty. Example: <body> <h1>{msg}</h1> </body> Are there any…
-
4
votes1
answer593
viewsHow to change the color of a FLAT-UI select without using Less?
It is possible to change the color of a select (from data-toggle select, including Flat-UI options) by CSS without using less?. In this FIDDLE that @dHEKU posted in the comments, the color of the…
-
4
votes2
answers384
views"Text" type input similar to the Stack Overflow tag system
How to make a input of the kind text to use in a form I need to add tags, just as in Stack Overflow? Observing To whom to answer, the answer can be extremely large if you quote the server-side…
-
4
votes2
answers6722
viewsDisplay input value date type
I have the following input: <p>Data Saída:</p> <input type="date" maxlength="10" id="saida" name="saida" value="29/01/2016"/> It is being shown as follows: But I want to display…