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
-
6
votes1
answer188
viewsHow to get links to open in an iframe?
How do I make the page menu index.html open the pages inside the iframe contained in the same document (index.html). For example, by clicking on link down the page contato.html is carried inside the…
-
6
votes1
answer4629
viewsOption "keep connected" / "remember me" on login screens
I am implementing a login screen and my client asked to add a checkbox "Keep logged in" below the login credentials. Okay, adding is easy. But what is the correct behavior for this feature? Is there…
-
6
votes5
answers19009
viewsHow to keep the footer always down there
I wanted to know how to keep the footer of the site always at the bottom of the site, even if the content of the site is little, as the example below. If I put a margin top, it doesn’t stay down…
-
6
votes2
answers571
viewsHow to change the url of the "background" property?
I have this function that changes the src of an img: window.document.images['img'].src = n_src; <img src="" name="img"/> But I wanted to change the background url of the style: <div…
-
6
votes4
answers127
viewsmount a regular expression
I would like a help from you to assemble an expression to check if there are more than 3 bars inside a url in javascript. example: http://exemplo.com , that he doesn’t take. http://exemplo.com/ola/,…
-
6
votes3
answers4981
viewsHow to customize input file?
I need to customize a file type input, but all the examples I found seem funny and does not work with Multiple, rs You need to look like that: There is a way to do only with CSS?…
-
6
votes1
answer162
viewsIs there any risk of submitting form with HTML?
When inserting the text: Em 19 de maio de 2015 16:48, <asdfsadf> escreveu: and send the form I generated the following error: A potentially Dangerous Request.Form value was Detected from the…
-
6
votes3
answers228
viewsI need an explanation about what a code I don’t understand does
I need to make a change to a code and I found this: <?=(((++$i % 2) == 1) ? 'class="colored"' : '')?> What that code does?
-
6
votes1
answer637
viewsHow to link a specific div from another PHP page
I have a one page site, where I have an external page with a menu, and the same needs to link the DIVS of my home (one page). Example: On my external page, when clicking on the Videos menu, I will…
-
6
votes4
answers4991
viewsDatatable does not order correctly
I’m using the plugin datatables to paginate results in a table. The problem is that the first column has 3 dates: 26/11/2015 19/11/2015 03/12/2015 I need to order the results of dataTables based on…
-
6
votes3
answers4902
viewsHow to load a dropdown with a selected value
I have a method to make changes in some data. Among these data, I have a dropdownlist which contains course periods. When I select to change, I need the dropdown comes with the option checked, as it…
-
6
votes1
answer133
viewsDropdown with SVG
I have an art and now it’s in an SVG file. The problem is that the client wants that when passing the mouse (or if clicking) on a block, he should open a menu. I don’t know if you have the ability…
-
6
votes2
answers626
viewsLaravel and Json Web Token
I’m having difficulty authenticating through the Json Web Token (JWT) token in the Laravel framework, I’m using the framework recently and I came across the following error. Whoops, looks like…
-
6
votes1
answer54
viewsIdentify a specific part of the screen
Is it possible for me to identify a specific part of the screen with Jquery’s javascript? For example when going through height y it perform a function for me? I imagine something like: var…
-
6
votes3
answers795
viewsPHP database text for html
I’m having trouble returning text with HTML formatting to the view. I need to return it with break lines. I also tried to put it without the tags HTML in the database and then used the function…
-
6
votes4
answers696
viewsHow to create hexadecimal colors randomly?
How can I create color code in hexadecimal randomly with PHP? For example, from #000000 at the #FFFFFF, to generate something like this: <div style="color: <?= rand_color()?>"> Estou…
-
6
votes3
answers1165
viewsProblem leaving automatic field width in responsive layout
I have the following situation. I’m working on a responsive layout that features three columns, left sidebar, center and right... It turns out that inside the right sidebar there is a text field and…
-
6
votes1
answer13196
viewsHide field in HTML with Bootstrap
How can I make a text field in my HTML is hidden when the user is viewing by mobile and appears when he is viewing by PC?
html html5 twitter-bootstrap bootstrap-3 responsive-layoutasked 9 years, 1 month ago Kleber Nunes 71 -
6
votes1
answer10692
viewsMinimum and maximum limit of a number in a number type input
Hello, I would like to know how I can put a limit, a minimum and maximum number that can be entered in the field. For example, make the number typed in the field below not less than 0 and greater…
-
6
votes1
answer214
viewsUndo click of jQuery parent element
As I can prevent the click of the #b it runs the click of the #link, I would like it to alert only "b" $("#link").on('click',function(){ alert('link') }); $("#b").on('click',function(){ alert('b')…
-
6
votes4
answers5900
viewsHow to receive form data with pure HTML?
I created a simple form. In it I put: <form action="02.html" method="get" name="meu_formulario"> <input type="text" name="nome" size="60" maxlength="40"/> </form> I want to create…
-
6
votes1
answer129
viewsDoubt about page width, None display and size (MB)
There is a width ideal for a web page? When we put an image with display: none, the image is loaded along with the page load or when we click on it? What size (MB) is considered "lightweight" for a…
-
6
votes1
answer1428
viewsInfinite scroll in Angularjs with external JSON
I’m having a bit of trouble creating an infinite scroll in Angularjs from a JSON file generated on an external site. What I need is for the infinite scroll to be called when the variable item posts…
-
6
votes2
answers894
viewsJavascript does not work if it is placed in the head tag
Guys, I need the "Tag Script" inside the "Tag Head" but unfortunately it’s only working when I put it at the end of the html. Please, if anyone knows the reason why this is happening, please help.…
-
6
votes1
answer164
viewsHow to move characters with mouse?
I am developing a hobby (browser game), where the user will guide his plane through the scenery! I have 2 div, at first I create a rectangle where when moving the mouse I capture the axis X and Y, I…
-
6
votes1
answer493
viewsHow to recover the page HTML generated with Angularjs via C# ?
How to recover HTML code from a page that uses Angularjs to process some information and generate a graph? I was able to easily recover the HTML code using Webrequest as demonstrated in the example…
-
6
votes2
answers1091
viewsPut spacing effect at paragraph start
Setting: I have a page of Terms of Service and responsibilities. Because it is very verbose, there are about 15 paragraphs. To generate the initial spacing of each paragraph I am using a conjunct…
-
6
votes1
answer640
viewsWhat is the role and responsibility of HTML, CSS and Javascript technologies in creating the front end?
With these three technologies HTML, CSS and Javascript can be developed all front-end or client-side of a particular website. Therefore, I would like to know what is the role and responsibility that…
-
6
votes3
answers284
viewsDiv with fixed position on the screen within the boundaries of another div
I need a div to be fixed on the screen, IE, descend as I visualize the rest of the page, but the problem with the position:fixed is that it takes the element of page flow. I want this div to be…
-
6
votes1
answer5078
viewsConfigure page headers with DOMPDF
Is there any way to set up DOMPDF to put a header on all pages of the generated PDF? I am generating a report and I would like all pages of the report to have the header of the first. //define o…
-
6
votes1
answer790
viewshow to align radios inputs in bootstrap?
http://jsfiddle.net/96ra0n8h/ I did it this way: <div class="row"> <div class="col-md-2"> <p>Discordo Totalmente</p> <p><input…
-
6
votes4
answers231
viewsJquery find in tree
I have the following context: <div class='pai' id='item'> <div class='form'> <div class='filho' id='item1'> <div class='filho' id='item3'> </div> </div> <div…
-
6
votes1
answer242
viewsGoogle Chrome sandbox
On some pages of a system I work on (I’m not the only developer) a message appears on Google Chrome as the image below: This only happens in Google Chrome, Firefox works normally. The test server…
-
6
votes3
answers1474
viewsHow to repeat columns up to "x" of times
Well I have a column in my database with names, I write it on the screen, through this code: <html> <head> <title>Pagina Inicial</title> <meta charset="utf8"> <link…
-
6
votes1
answer2618
viewsHow to use <address> tag, doubts?
It is correct to use the element <address> just for an email? For example: <address><a href="mailto:[email protected]">[email protected]</a></address> Examples I always…
-
6
votes1
answer953
viewsBootstrap side menu not configured in mobile version
I’m fighting to make a website and present it on my TCC. I separated the sections of the site (body, head, header, footer...) into isolated files to be able to move more easily. I took great care to…
-
6
votes1
answer395
viewsHow to view all JS code requested by an iframe?
I want to exhibit a iframe with an external page and then show in a textarea all JS code requested by iframe in question. I have two problems: the first is how to know all the requisitions that the…
-
6
votes0
answers92
viewsIs there anything that gives you the path to CSS?
I need something to make me reference the path of CSS faster, like a feature in Google Inspect, because it’s hard to keep finding the sequences of hundreds of divs inside divs. Like something that…
-
6
votes1
answer2324
viewsValidate maximum size of an attachment
Good afternoon, you guys, I need to validate the maximum size of an attachment but my code is not working, can help me? Follow the code below: HTML: @using (Html.BeginForm("AdicionarAnexo", "Turma",…
-
6
votes2
answers475
viewsInstallation Do icheck
I can’t seem to do the icheck work i install I do the inclusion of css and js files in my index and even then it does not work checkboxes and radiobuttons remain the same thing, someone can help me…
-
6
votes1
answer278
viewsBlock Scroll on one side of the grid
I divided my page with a grid, where the smallest part I put items q direct to page locations, I wanted to know how to let this smaller fixed part and the scroll work only in the largest part of the…
-
6
votes0
answers407
viewsAdd or decrease columns and rows in the table
I have a table where I want to add or decrease new rows and columns, through the button click event, I tried this way, as the code below, but it’s not working very well: This example of how it…
-
6
votes3
answers3450
viewsPreloader while the site loads
I’m making a hotsite, it’s one page, and it’s a little heavy, with some pictures. I wanted to do a preloader with %, before loading all the content. With: $(window).on('load', function() {…
-
6
votes2
answers75
viewsHow to solve an elseif that needs to be exclusive?
I want to create a page where when a checkbox is marked, a message is printed, but if all checkbox are marked, print another message. <!DOCTYPE html> <html lang="pt-br"> <head>…
-
6
votes3
answers671
viewsCorrect pennies in Boletophp Bank Slips
I’m using the Boletophp project to generate bank slips, but I noticed that the pennies are not recorded correctly, because when I buy a product with the value of for example, R $ 245,00 plus the…
-
6
votes4
answers11464
viewsIncrease image when user click on JS
I’d like some help for a problem I’m having: I’m doing something similar to a gallery, and when the user clicks on the image it has to open in large size, not the entire screen, but covering much of…
-
6
votes2
answers760
viewsHow to hide half a piece of content
How do I do what is illustrated in the picture? Knowing that the content is not just text but buttons and other things from a website homepage!…
-
6
votes2
answers1025
viewsHow to disable/enable button(button) when input file is empty/selected?
So I have a simple image upload form that I leave disabled button. Wanted that when I select a photo or file in the input file, the button enable! <div id="botoes" class="clearfix"> <button…
-
6
votes1
answer1377
viewsSelect multiple CSS classes with wildcard
I want to color all the classes in a grid I downloaded, the Flexbox. It has 12 columns, I want to do something like col-md-* and select everyone who uses this class to color.…
-
6
votes1
answer474
viewsIs it correct to name html tag attributes arbitrarily?
I would like to know about creating and manipulating attributes in html that are created. We have the attributes already known as the id, class, etc. that we put in the tags so we can manipulate…