Most voted "html5" questions
HTML5 (Hypertext Markup Language, version 5) is a generic term for recent web technologies (HTML, CSS, and Javascript). It is also the latest iteration of the HTML Recommendation scheduled for 2014, and featuring new elements and Apis.
Learn more…3,881 questions
Sort by count of
-
2
votes1
answer1257
viewsCentralizing modal bootstrap on mobile screen
I’m trying to centralize a modal bootstrap in the center of a mobile screen, but the result is the following: I’m following this example, but it’s not working: How to Center a Modal Box Horizontally…
-
2
votes2
answers637
viewsInsert array within an angular scope
Hello, everyone, I’m a beginner in angular, and I’d like to know what I’m doing wrong here. Check it out: Every time I click on a button I want it to add some "modified" information of an object…
-
2
votes3
answers628
viewsMake html class appear and disappear by js
I have a registration page, and when the data is entered wrong, a alert(); reporting the error, but wish instead of being Alert, it was an error message just below the fields. I put a span with an…
-
2
votes2
answers496
viewsHow do I activate a div with Javascript?
I have the following problem I have a <div> hidden above login field: <div id="MostraLegenda" class ="legenda" style ="display: none"> <p>Login do Usuario</p> </div>…
-
2
votes1
answer77
viewsProblem with tr of table inserted via javascript
function cadProd(){ var nomeProd = document.getElementById("nomeProd").value; var categoria = document.getElementById("categoria").value; var descricao = document.getElementById("descricao").value;…
-
2
votes2
answers1316
viewsLogin Form Screen Flashes
I have a problem: I have a login screen that I did, but it keeps blinking. I didn’t want this to happen. I wanted the login form to be static with the images running in 5 minutes. The link does not…
-
2
votes1
answer68
viewsHow do a button process the same Function more than once?
I’m making a Pomodoro Clock, consists of a clock that is a countdown of 25 minutes, after that 25 minutes has a Short Break, which is a 5 minute break for rest. My HTML5 code has two buttons that…
-
2
votes1
answer4711
viewsHow to use cookies in javascript
I know how to create cookies in Javascript, but I don’t know how to apply them in some project. Someone could post an example of how to use cookies?
-
2
votes1
answer318
viewsHow to clean/reset bootstrap fileinput after selecting new image?
I am trying to clean/reset after selecting new image. After selecting image, clean Initial Preview Follows the code: HTML: <input id="input-pd" name="input-pd[]" type="file" multiple…
-
2
votes1
answer1025
viewsOrder form with Python and Django
I’m starting my studies with Python and Django. After creating several simple CRUDS, I tried to create a more complex form using several classes, but was unsuccessful. I want to create a screen for…
-
2
votes6
answers4771
viewsHow to use Materialize side-Nav?
Good morning, I’m trying to make a responsive menu for my portfolio, I’m using the do materialize but when I put it fixed the side-Nav of the mobile version Uga, it gets all dark and not to click on…
-
2
votes2
answers608
viewsbackground-image Fixed on iOS
I created a background with fixed image on the body of the site. Was ok on desktop and Android, but iOS the image is not fixed. The image scrolls down as I scroll down.
html5asked 6 years, 9 months ago Rodrigo Itaborahy 23 -
2
votes1
answer76
viewsHow to center rotated text on a div?
Hello beloved community! I’m rotating a p inside a div, but I can’t center it, I’m having enough difficulty in css, already tried to define a width: and height: for p, I left as auto, but it doesn’t…
-
2
votes1
answer1840
viewslang difference and meta charset in html
Hello, I’m in doubt as to the difference between the definitions <meta lang="pt-br"> and <meta charset="utf-8">. I appreciate the help
-
2
votes2
answers3864
viewsHow to remove video download option
I would like to remove the video download options (I know this will not prevent downloading it through other means. But the idea is just to make it harder for more lay users). I have the following…
-
2
votes1
answer82
viewsHow can I fix this menu at the top,?
I’m with a site with a menu that’s below mine header, 150px below the top of the screen. I would like to make sure that when I scroll the page and the site menu got the position 0 from the top it…
-
2
votes1
answer1348
viewsHow to put the scroll of an element to the left
Usually when you use overflow-y: scroll or overflow-y:auto, the scrollbar appears to the right of the element. .scroll-me{ height: 80px; width: 200px; overflow-y: auto; overflow-x: hidden;…
-
2
votes2
answers204
viewscheck jquery email as if it were two strings
Good evening, I’m finalizing a form check and I’ve locked on at one point, maybe by the way they wrote the code of my work I can’t use jquery validate, then I have trouble checking a field of input…
-
2
votes2
answers402
viewsConfigure list-group with scrollspy bootstrap
Good night ! I’m struggling with one of the layouts of my project in which I have a div divided into 3 parts, where the top right will contain cards that selected will bring the data into a list at…
-
2
votes1
answer51
viewsBug in the enterprise carousel
I’m with a little bug in the modal of enterprises, when I open one it displays at the same time the two, plan and illustration, and only back to the norm when I click the button... Could someone…
-
2
votes2
answers537
viewsView code on page
What tag do I use to display any code on the page? That is, how do I display codes PHP or any other on the page in such a way that the browser reads it as text and does not interpret it as code?…
-
2
votes1
answer156
viewsScrolltop does not work when I use the Body element, but HTML
I did not find an answer or in the jQuery documentation. Because when I use element "body" for Animate with the scrollTop property I want to animate does not work. Follows my code function…
-
2
votes1
answer51
viewsRecover all checked checkboxes
I have this code that returns a list of the bank with a checkbox next to each, however when sending it via post only takes the last marked and not all: Example with vardump where I marked all:…
-
2
votes2
answers76
viewsButton with different format with CSS
I needed to make a button with css plus it has a different format. It is possible to make a button like this only with css…
-
2
votes1
answer645
viewsI have one form inside the other and I can’t get the most internal form
Here’s an example of how the form is, it’s much more complex than that, it’s almost 10 years old and I don’t have time to modify everything. But I need to have access to the form inside the other,…
-
2
votes1
answer403
viewsHow to invert the side that starts the digits in an HTML input?
For example in the 'Numeral formatting' part of this site https://nosir.github.io/cleave.js/ When I type, the numbers start to be written from right to left, and the default is any input is left to…
-
2
votes1
answer1000
viewsRecover image through path and display
I created the following method to save an image in the database public ActionResult enviaArquivo(UsurioViewModel arq) { try { string nomeArquivo =""; if (arq.Arquivo != null &&…
-
2
votes1
answer68
viewsPositioning of div over Slideshow
I have the following page: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Slider</title> <meta name="viewport" content="width=device-width">…
-
2
votes2
answers1873
viewsHow to center the text of the select option?
Guys, how can I center the text of the option that is within select? Or there is no such possibility?
-
2
votes2
answers121
viewsWhy does Firefox not support form type="time"?
I tested this type in a form and it got very bad, it does not appear any type of menu to modify the time. In Google’s browser appears. It gets complicated because every form type will never run 100%…
-
2
votes2
answers839
viewsHow to make a Javascript mask for type tel?
Guys, I created a form and a field for the user to fill in your phone. That is: type="tel". What I want is a Javascript code that, when the user enters the phone, the code automatically transforms…
-
2
votes1
answer128
viewsHow to get the duration of a formatted video in Html5?
I am developing a player in Html5. I am in the part where I need to display the total duration time and the current time. But I only know how to get the values through the float. Example…
-
2
votes2
answers3642
viewsChange color of the icon after clicking or Hover input
I would like as soon as I click the input to change the color of my icon My form <form method="post" id="form"> <div class="input-wrapper"> <div class="icone…
-
2
votes2
answers108
viewsformulario this with problem when recovering the Post value
hello I’m making a website and I wanted so the person type the link javascript pick up and send the form but it is sending but when I try to recover with the $_POST it n recovers the value q was…
-
2
votes0
answers374
viewsWrong location Google HTML API
Hi, I’m trying to capture my location from the Google API/with the new HTML5 features. However my latitude and longitude always gives this which is incorrect, whether on computer or mobile:…
-
2
votes1
answer427
viewsHow to Identify Screenshot
How do I identify if any screenshots are happening on the site. For example, Netflix when you’re watching a movie or series and try to take a print it makes the print result totally black. How can…
-
2
votes1
answer182
viewsCan I use the <figcaption> tag without using the <figure>?
I want to put captions in my photos and would like to know if I can use the tag <figcaption> without having to use it inside the tag <figure>? <img src="_fotos/imagem-2.jpg" alt=""…
-
2
votes2
answers104
viewsTurn the side bar menu into a fixed menu
I have a little problem that for who knows should be relatively simple, but being a little new in the Front branch I’m having some problems, is the following, I need to make a site with a fixed menu…
-
2
votes2
answers72
viewsHTML and CSS responsiveness error
When I minimize the screen, the photos stay outside the block, follow the HTML and CSS code <!DOCTYPE HTML> <HTML lang="PT-BR"> <head> <title>Cartola dos Amigos</title>…
-
2
votes3
answers426
viewsHow to Take "resize" from a textarea?
< script src = "//cdn.tinymce.com/4/tinymce.min.js" > < /script> < script > tinymce.init({ selector: 'textarea' }); < /script> <div class="form-group"> <div…
-
2
votes1
answer557
viewsHow to put background image?
How do I put a picture in the background of my website? It’s not working. HTML <!DOCTYPE html> <html> <head> <title> Praticando #1 </title> <meta charset="UTF-8">…
-
2
votes1
answer559
viewsSlide with thumbnail using Owl Carrousel 2
People would like to know if there is the possibility of making a thumbnails slide like this here with owl-carrousel 2 if there is a link that shows some example of how to do the image below and in…
-
2
votes0
answers64
viewsOrganization of tables in css
*I have a problem in my code that I’ve been trying to solve for hours I’m going to leave an image to explain better, I want to leave it aligned with the other bars. <!-- ***** Contact Area End…
-
2
votes1
answer84
viewsRegular expression to validate a field
I have an input in the form that should accept only the following formats: Examples 1AB 1AB2CD 1AB2CD3EF The minimum size has to be 3 and the maximum 9, and always follow the standard 1 digit and 2…
-
2
votes1
answer961
viewsAdjust Div position in CSS and HTML
I have a report that is mounted in html and css on A4 sheet size in landscape format. Everything works perfect. However I can’t align the tables on each other’s side. I want to Align all tables…
-
2
votes2
answers509
viewsCSS3 Adjust table to fill blank space generated on Landscape page
I have a report that is mounting in css and occupies A4 landscape size and I would like the tables to fit to always occupy all the space of the page. Image as ta: Space it should occupy css:…
-
2
votes0
answers529
viewsUpload photo with HTML5 and PHP input camera
I’m using the new method of uploading photos where to use the phone he opens the camera and if using a computer he opens the files... but if I try to upload the photo by cell phone it just doesn’t…
-
2
votes1
answer744
viewsHow to make an image and text appear when clicking on an option?
I’m having trouble asking a question: A small library has only fiction and textbooks (Mathematics, Portuguese, etc.). You are building the system of loans from that library. On the first page of the…
-
2
votes3
answers1179
viewsCharset does not work in Javascript
I have the following Javascript function that issues a confirm with a message containing special characters. function cancelaCadastro(){ var cancelaCadastro = confirm(unescape("Você deseja cancelar…
-
2
votes4
answers6679
viewsHow to force numeric keyboard display on the smartphone when clicking an input?
I have a field on my form with type="text" and has mask for the zip code. When access by cell phone and click on the field need to trigger the number keyboard. Can anyone tell me if you have any…