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
votes1
answer2559
viewsRead HTML file
In my project I need to read an HTML file that in source code has a structure of an xml. I need to read this HTML file, get the value of xml tags that have there do a whole process to save this data…
-
2
votes1
answer1338
viewsHelp with Mask Directive for 4 decimal digits in Angularjs
I want to make a number directive in Angularjs with two features, one to format when typing a number in an html input. Example of how you would like : 1,200,0000 12.000,0000 120,000,0000 and the…
-
2
votes2
answers28028
viewsHow to make a horizontal line responsive?
I cannot simply make a line, because depending on the page, instead of a line, it generates continuation in another line.
-
2
votes1
answer1459
viewsHow to verify what an html/javascript page is loading?
How can I check what my browser is trying to load, even after the html/javascript page has already loaded "completely"? The page is: http://cerva.tk/index.html If you can do a test and see that it…
-
2
votes2
answers62
viewsHow to include a js from another domain in html?
Hello, I have a file . js on http://meudominio.com/arquivo.js. I would like to call you elsewhere (meudominio2.com) with <script src="meudominio.com/arquivo.js" ></script>, however,…
-
2
votes1
answer100
viewsAutomatic image traversal of a gallery with Opacity effect
I have a small gallery of images next to each other it already has opacity 0.1 and when passing the mouse over one of the images the opacity effect becomes clearer 1.0 only I want to be made an…
-
2
votes1
answer703
viewsHow to save an image generated by php Gd?
I’m trying to use jcrop + php Gd to make image cuts and save to another directory but I don’t know what’s wrong with my code: <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { $targ_w = $targ_h =…
-
2
votes0
answers185
viewsonChange function does not work when applied to multiple fields
Use the function onChange="getPeca(1);", where is accessed a JS that feeds the field to the side with the description. This works, if I directly in the field and enter the code and give tab it does…
-
2
votes1
answer460
viewsClose a Collapse when opening another using Angularjs UI
I have one Collapse and the other right next, I wanted to click on one, close the other if it was open. My html code: angular.module("seuCondominio", ['ui.bootstrap']);…
-
2
votes2
answers4370
viewsHow to "get rid" of vertical space between Divs?
I’d like to get every piece of my website glued to each other, each in a different color. But I can’t get rid of the blank space that stays between the Ivs. I tried to remove the code space and…
-
2
votes2
answers1021
viewsProblem to get input value with javascript
I’m taking the value of input via JS and sending via GET to another page. The problem is that when I type space in the input, I can’t get what I wrote after space. If I type for example: Ana Maria…
-
2
votes2
answers5307
viewsHow to disable checkbox without using disabled?
How could I inhibit the alteration of a checkbox unused disabled, given that I want to send it via form. <input type="checkbox" name="option1" readonly="readonly" checked="checked"/> // esta…
-
2
votes2
answers1070
viewsHow to arrange the table so that photo and information are on the same line?
I need the image and property information contained in the table to be at the same time, but I don’t know how to fix. They follow the pictures of how it is and how I wanted: Follows the code:…
-
2
votes1
answer1660
viewsGrab HTML element via Javascript using getElementsByClassName
What’s the problem with this javascript code? The function always returns error. <!-- IMAGEM --> <img class="coverPhotoImg photo img" src="ABC.JPG" alt="Foto 1"> <!-- IDENTIFICAÇÃO…
-
2
votes1
answer70
viewsHow to make a body have a scroll
How can I make a website body have scroll, so users can pull the bar down and up to see all the site information.
-
2
votes3
answers3214
viewsJS - How to add a style within a new class?
It is possible with javascript to add an element to a class? EX: Have a class: .post_22 {color:red} Until then it only has color, but when you click on a link: <a onclick="minBox()">Seu…
-
2
votes2
answers6310
viewsHTML inside "echo" php
I’d like to know how I get through it: <td><a href="edita.php?id=<?php echo $objProg->getid();?>">Alterar</a></td> Within a echo in php ?…
-
2
votes1
answer871
viewsCalling a href page by passing the input fields of the form
I have a page that has several inputs, when I click on the button I open a modal with the result and inside dese modal I have another button to be clicked but I need to take the form fields and pass…
-
2
votes1
answer765
viewsHow to position two selects within the same div?
I need to put two selects within a single div, one aligned to the left, and the other to the right. I’ve tried using CSS by creating a class to apply to each select, but it didn’t work: select.left…
-
2
votes1
answer306
viewsHow to create subcategories with Javascript
I have that list: <li> <a href="" class="category-subtree-expandable">Vestuário</a> <ul> <li> <a href="" class="category-subtree-expandable">Feminino</a>…
-
2
votes0
answers375
viewsHow do bar get responsive?
I’m trying to make this HTML5 video player icons responsive. <div id="video-controls"> <div class="play-video"> {!! Html::image('img/video/play.png', 'Play / Pause Video', ['class' =>…
-
2
votes1
answer515
viewsListing Items with checkbox
I would like to know how I can complement the code below to work as follows I need that when marking any item in the checkbox put in the case a number indicating the order of its marking with the…
-
2
votes1
answer95
viewsRecover a value that comes from a jquey to PHP request
I am here with a difficulty, I am receiving a value that comes from a JQUERY request to be presented in a form input, with the code: HTML <input type="text" id="valor"> With this TAG I can…
-
2
votes1
answer56
viewsReturn a variable value with Zeroclipboard
I’m using this library https://github.com/zeroclipboard to copy text by clicking the user’s Clipboard button. I’m trying to find a way to change its functioning a little, but without success. The…
-
2
votes2
answers810
viewsHow to display attributes of an object passed in a list in a JSP page
I am working on a Java Web project, using the Spring MVC framework. I’m having difficulty displaying information that comes from a list where analysts are registered. The name of the analyst is…
-
2
votes1
answer118
viewsMobile Page in Chrome Simulator
The sites I am developing have presented some problems. I believe it is because of my inexperience in mobile pages - responsive. I make my websites in Mobile First. And to test the site I use the…
-
2
votes2
answers949
viewsHow to change a color based on scroll position
Hello! I’ve been searching for a while and I find a lot of things, but for what I specifically want, no. On my Tumblr blog, I want to put a border around posts with approximately 5px, whose color…
-
2
votes2
answers3277
viewsHow to extract specific data from a php html file?
I wonder how I can extract part of the contents of a file HTML. This file has dozens of emails and names and would like to extract this data. Can anyone help me to do this? <div class="tcell…
-
2
votes1
answer2742
viewsProblem with php special characters
I’m using php on the html page to validate a form. When the database retouches the text to the page php is not displaying the result with special characters. Where is the error? Page: <meta…
-
2
votes1
answer606
viewsCheck if a value is present in an array
I have a table in my database with several numbers. I take the numbers from the database, store them in a array, and do echo in a PHP table: echo "<table class='CSSTableGenerator'>"; echo…
-
2
votes1
answer173
viewsTechniques to maintain data consistency in the front end
Example: In a form, some fields (input) are loaded via ajax from a select. To option selected will be used in the back-end for validation of those fields. However, the user can load a certain…
-
2
votes1
answer425
views -
2
votes4
answers5359
viewsCustom font in html/css does not work
I’m trying to insert a non-standard font into my html, but it’s not working. I downloaded the source and put it in a folder /font inside the briefcase css. Follows the code: @font-face {…
-
2
votes1
answer60
viewsString to Date conversion
I have html form with the following input: <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Início:</label> <div class="col-md-4"> <input…
-
2
votes1
answer72
viewsChange Bootstrap navbar theme
Hello, I searched a lot on the internet a method that I can change the theme of the Bootstrap navbar by clicking a button. Navbar when the user accessed the site: When the user clicked on the…
-
2
votes1
answer81
viewsIs there a generic Css code to turn my website into "mobile friendly"?
I would like to turn my site into mobile friendly. I know you can do it for css because I don’t want to change the web page template.
-
2
votes2
answers697
viewsProblem with Utf 8 in reading txt file
I am using the following directive for reading txt files, however the texts are coming out broken. http://jsfiddle.net/alexsuch/6aG4x/…
-
2
votes1
answer1385
viewsHow to do a Jquery that when selecting a radio button, changes the items of a select?
I’m creating an html site and I’m kind of a beginner yet. I’m doing an establishment registration screen. My problem is: when selecting a radio button, I want you to change the select data…
-
2
votes1
answer37
viewswebsite with bank image and pagination items
How I create items for a web shop type site. Pull BD items and place 15-item limit pagination.
-
2
votes1
answer1020
viewsbutton with link inside the form
Guys I got a form with 2 button within. 1 and Ubmit and the other need to put a link in it. When clicked it cannot send the form and call the link. Follows my code: <form name='form' method=post…
-
2
votes0
answers359
viewsError Maximum call stack size exceeded
In an application made in Angular 2 I need to assemble a report in html, I consult the data by API and monster the data in html through data-bind, only this error occurs: EXCEPTION: Error: Uncaught…
-
2
votes1
answer85
viewsHow to make a circle-shaped audio player that calculates the time around you?
So.. I saw a player on a website: http://nicolaserrera.com/ and wanted to know how I can do a similar..
-
2
votes1
answer577
viewsHow to create Prev and Next buttons
Hello, I’m trying to create a photo gallery with the Fancybox that I downloaded and I would like to insert the buttons Next and Back but to pass 04 images with a single click. I’m attaching this…
-
2
votes1
answer644
viewsProblems with HTML images sent to email
I did several tests using an image with absolute path. Inside the intranet works perfectly, but in the extranet (GMAIL/OUTLOOK) does not work at all. Someone can help?
-
2
votes1
answer646
viewsDropdown does not work in android browser
hi guys I’m having a super HTML bootstrap problem, my dropdown doesn’t work on mobile phones. will anyone help me. <meta name="viewport" content="width=device-width, initial-scale=1.0">…
-
2
votes1
answer6629
viewsCreate a login and password form in the upper-right corner of the screen
I’d like to put a form login and password in the upper right corner of the screen with the option to register. <input type="text" name="nome"> <input type="password" name="senha">…
-
2
votes1
answer293
viewsDisable native browser validation
Would you like to know how to disable native browser validation in a form? I would just like to leave my validation in Jquery. What I wanted to take is this text box "Fill in this field.". Any…
-
2
votes0
answers353
viewshtaccess configuration to capture all GET data from a query string
I rewrote my url rule as follows: RewriteRule ^(.+)$ index.php?path=$1 [QSA,L] In php I get the parameters of $_GET['path'] and configure my controller, action and parameters. $this->controlador,…
-
2
votes0
answers283
views -
2
votes1
answer876
viewsWhy use container inside navbar’s in Bootstrap?
I was learning how to use Bootstrap’s Navbar, and I had a question. All the examples I found of using the navbar, have right after the same a container. It is more or less like this: <div…