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
answer228
viewsHow to make a div of equal height to the div container? (container larger than viewport)
Since I don’t want to define the height of the container div, because I want it to increase dynamically according to the content? <div class="conteiner"> <div class="esquerda">…
-
1
votes1
answer96
viewsContinuous background audio
I put a background audio on the site with autoplay and loop, only when I went to another page, the audio started playing from the beginning. Searching the net, I found a Javascript that captures the…
-
1
votes3
answers1735
viewsHow to use if/Else within a function?
I’m trying to create a simple function, to write the title according to the gender selection on the form, but I must be doing something wrong: $sexo = empty($_POST['sexo']) ? "[sexo]" :…
-
1
votes3
answers1081
viewsAs I put a button inside iframe
I tried several ways and could not. I did so: <iframe id="ifrTeste" > <input type="button" /> ou <button...></button> </iframe> I couldn’t get the button to appear…
-
1
votes1
answer72
viewsShow slider when uploading photo
Good afternoon, I have 4 images on my website made in bootstrap that correspond to 4 categories and I would like to see a simple slider with the photos of each category. How to do? Thank you…
-
1
votes0
answers71
viewsSite Buga all when hosted
I am learning front-end and I made a website using bootstrap here, I decided to climb it somewhere free to start the joke and to my surprise he is having some problems. The impression I have is that…
-
1
votes1
answer16827
viewsHow to open the link in the same tab
I have the following code: <form method='post' action='https://cieloecommerce.cielo.com.br/transactional/order/buynow' target='blank'><input type='hidden' name='id'…
htmlasked 9 years, 7 months ago Bruno Alves 23 -
1
votes1
answer1489
viewsHow to make the menu appear in bootstrap in mobile resolution without clicking the button?
Can anyone help me with css to leave the menu already activated like this when it goes into mobile resolution? http://guiapetsaocarlos.com.br/ When you are in small resolution, it opens an icon to…
-
1
votes1
answer172
viewsTransfer file to FTP and make it available for download automatically
Good afternoon! I am developing a website, and I have some questions. On this site will have a page to download some files. I’d like to do the following: When transferring a file to the download…
-
1
votes1
answer92
viewsMake div appear to only a few users of the site
I wanted to make a div that only appears to some portion of people who access my site, how do I do this?
-
1
votes2
answers1562
viewsFilling form dynamics with Angularjs
In the system I’m developing, there will be a field input for the user to search if such CPF already exists registered in the Database, if you have I want to show all the data of this client in an…
-
1
votes1
answer115
viewsError sending form data
I am learning mysql and php, but is giving an error in the form, where even having been filled in it keeps asking to fill in the fields and does not record anything in the database table <?php…
-
1
votes1
answer3833
viewsRedirect page after an email form
I am making a form that needs to reach my email but when someone clicks on Ubmit it is redirected to a thank you page. Grateful.
-
1
votes1
answer216
viewsSeparate Styles in Three Column Division
I am currently doing the Prototype of an Interface where it will have the page divided into 3 sections: 1) A lateral column on the left side with width:25%; where the user form will be. 2) A column…
-
1
votes1
answer19326
viewsHow to add image as fixed background?
Instead of the common white background on my site, or instead of setting another background color, I want to set an image as background. I want this image fixed, without moving with the scrolling of…
-
1
votes1
answer295
viewsImages do not line up in the table
I have this code: <!DOCTYPE html> <html> <head> <title>Figuras em tabelas</title> </head> <body> <h1 align="center">Montando figuras com tabelas -…
-
1
votes2
answers49
viewsOpen Direct Center Page
It is possible when opening the page to direct click in the center of it without anchor and also without scroll ? Everything I research relates to window.open(). I haven’t found anything specific…
-
1
votes0
answers128
viewsCustom jquery mobile icon intel xdk
I can’t place a custom icon in my header! Can anyone help? html: <a data-role="button" class="icon-myicon" data-icon="myicon"></a> css: .ui-icon-myicon{ background-image:…
-
1
votes2
answers1576
viewsHow to Create Conditional on a DIV p/ Change Content
I’m trying to make a conditional to display content within a div. My website is with the CSS adjustable by browser type, but this only changes the format (size) of display! Precise change the…
-
1
votes1
answer1025
viewsHow to search for files by name
I am trying to search through names, in a folder containing several different JSON files . var app = angular.module('myApp', []); app.controller('customersCtrl', ['$scope','$http',function($scope,…
-
1
votes0
answers541
viewsDialog to take only the local path of a folder
I have a field in an html form, where the path (path) of a Windows folder (EX: C: pasture1 pasture11) should be inserted, where this field is of the type text even. However, to make it easier, I…
-
1
votes2
answers505
viewsField validation when submitting form
How can I validate multiple fields in the form where these fields are created dynamically? Example: <tr align="right"> <td style="font-size: 11px;"><b>Item 1 -…
-
1
votes2
answers225
viewsCSS does not work on pages generated with Errordocument
I’m having a problem when I’m customizing ERROR 404. I put the following code in the . htaccess file: ErrorDocument 404 /erro404.html And I created a custom page error404.html. The page is onpage,…
-
1
votes2
answers1325
viewsMaster page in HTML
Good morning! I’m trying to make a Master Page in HTML 5. I created an HTML page called master.html with every menu structure I want. I call this page the following way on my index.php page and it…
-
1
votes2
answers861
viewsAccent with Javascript Resource
I have an Asp.Net MVC project where I use Source, but I’m having problems with accentuating other special characters. Example: I have the following Resource: Name | Value MSG_SESSAO_EXPIRADA |…
-
1
votes1
answer419
viewsReplace content according to search without having to give
Good people, I have the code word require_once 'Connection.simple.php'; $OK = true; $db->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING ); if (isset($_GET['name'])) { $data =…
-
1
votes1
answer97
viewsProblem working with Draggable and Resizable in the same image
I created a code and I’m having problems with it. I’ve tried them both individually, both Draggable like the Resizablee, and worked perfectly, altering the data in the input, and when updated…
-
1
votes2
answers808
viewsDo not rotate iframe until clicking
Hello. I have the Pagina1.php that has an iframe that sits in an invisible div display:none, which shows the iframe only when I click on a button with the ajax function to show the invisible div…
-
1
votes2
answers1447
viewsForward and backward slide Javascript
I have a photo slider on my page, with buttons to go back and forth. I can’t get these buttons to work. At first I imagined that the logic to advance would be the same used for the slide to advance…
-
1
votes1
answer639
viewsHow to turn select option into option with images?
I’m doing a rating system on my website. I have a select option with a 1 to 5 vote I’m trying to turn that select option with icons to take the vote but I’m not getting it I’d like to know if it’s…
-
1
votes1
answer48
viewsProblem with Hover rating system
Good night, And the seguite I made a rating system for my site it is working well only missing something that I am not able to do. I have the rating from 1 to 10 where it is like this 0.5, 1, 1.5,…
-
1
votes1
answer502
viewsAdd category of column
Hello I am with this code and I would like to make the sum only of the category "CREDIT" someone gives a force for friend here. $(document).ready(function () { var $entrada = 0, $saida = 0, $total =…
-
1
votes1
answer58
viewsFor + slideToggle in Jquery does not work
Can anyone explain why my code doesn’t work? I don’t know exactly how many divs will generate, but the maximum is 25. So I wanted each click button to specifically open the div "glue" attached to…
-
1
votes2
answers3417
viewsChange CSS when scrolling the page
I was wondering how to swap the CSS of a page after it gets a scrolling out of its default location. An example of a site that uses this is Deviantart. That menu of TODAY BROWSEWHAT’S…
-
1
votes1
answer62
viewsHow to Work with Grunt
I have read a lot about some tools used to facilitate the workflow on the front end and I met Grunt, I understood what his function is and when he can be useful, but I have the following question,…
-
1
votes1
answer1007
viewsPopulate multiple input fields with values from other fields
I have three lines with four fields input of the kind time, and I want to create a button so that the two lines below can be filled equal to the first. I’m following this reply from Soen, and…
-
1
votes2
answers372
viewsProblem with PDO and mysql_query connection
Hello, I created the connected.php file as below: <? $conn= new PDO("mysql:host=localhost;dbname=site", "root", ""); $count = ('SELECT * FROM conteudo'); $stmt = $conn->prepare($count);…
-
1
votes2
answers8633
views -
1
votes1
answer1047
viewsHow to remove a single element having several with the same id
I am using a jQuery to clone an element and would like to have the feature to remove the cloned element. When I try to remove the element, for some reason, it doesn’t work according to…
-
1
votes1
answer68
viewsHow to block cell phones from accessing the website?
Good afternoon, I have a website I want to make sure that when they access the site through mobile phones that a message appears that the mobile application will be available soon and do not open…
-
1
votes0
answers22
viewsAudits Google Chrome - Control and elements must have labels
I checked the Audits of Google Chrome and alarmed in accessibility that my inputs do not have labels, but esotu using placeholder, what do you think? I believe that this mistake accused is not real,…
-
1
votes2
answers97
viewsTag HTML in Helper Razor
I have HTML code: <label class="labelinput">Nº Compra<em>*</em></label> Passing to the Helper was as follows: @Html.Label("Nº Compra:", new {@class = "labelinput"}) But I…
-
1
votes0
answers87
viewsFieldsets are crashing in Chrome, but not in IE
I have some Fieldsets that when displayed on Chrome, they appear one below the other, which actually should be next to each other. This, of appearing next to each other, only happens in the IE. In…
-
1
votes1
answer388
viewsChange table with Javascript
I have this Table, that uses Javascript to pass or return a round; the problem that always starts in round 1, and to get to the current one have to generate several clicks... I wish you could start…
-
1
votes1
answer2122
viewsAsk Login for Password
Well, I have a Page and I want to protect it, But with htaccess, everything in the directory is closed. I just want to ask for a Password and Username to enter it, not the other things in the…
-
1
votes1
answer970
viewsPHP- Display query results in a select
I input an admin to write a message to a specific user. The user will be selected by a select that fetches the names from the user table and lists them all. After selecting someone, the admin can…
-
1
votes1
answer1353
viewsBlock form submission when click back
It may seem like a stupid question but I’m amazed that when I click the back button, the form is sent. The code is similar to this: <form id="idform" method="post" onsubmit="return…
-
1
votes1
answer281
viewsIs it necessary to use ul and li tags in flexslider?
I’m wondering if you have how to exchange ul and li by div ? Pq I find it more complicated to mess with ul and li than with Divs !!
-
1
votes1
answer72
viewsJquery does not return second image in the list
Apparently, the code is correct, it’s as follows: { if( $(".ativo").next().size() ) { $(".ativo").fadeOut().removeClass("ativo").next().fadeIn().addClass("ativo") } else {…
-
1
votes2
answers3282
viewsUse Submit to submit a form, within modal, using bootstrap
I’m trying to submit a form within a modal, only it’s not submitting what I’m sending in the tag . My view: <button type="button" class="btn btn-primary" data-toggle="modal"…