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
-
1
votes1
answer95
viewsHow to position these elements in a List
Hello I’m making a simple product page but I’m having some difficulties in positioning the elements as well as in the print below: First I was using attributes like: Left: ?? px; bottom: ?? px; ,but…
-
1
votes2
answers113
viewsAction using select
I have a select <select class="select-sala" id="selecionar-aula"> <option value="">Pagina 1</option> <option value="">Pagina 2</option> </select> What I need is…
-
1
votes0
answers33
viewsAutomatically fill in field on a web page that I cannot change
Good morning friends! I’m beginning to venture into the world of programming, and I came across a question. Is it possible to automatically fill in the fields of a web page that I cannot change the…
-
1
votes2
answers77
viewsHTML parameters
I’m new to HTML, I’m doing a job for college where we can only use HTML, CSS, Javascript, JSP, Servlet, Java and Mysql database. So far I’ve created a page with some images, and a name for each…
-
1
votes2
answers200
viewsTV style information bar (similar to <Marquee>tag)
I need to make an information bar style of the TV channels that keeps passing from right to left. I have the text that comes from the database and as it is a long text I would need it to be looped.…
-
1
votes1
answer144
viewsHow to show buttons for each menu option?
$(document).ready(function() { $("#myModal").modal('show'); $('#myModal').on('show.bs.modal', function(e) { $('.chosen-select').chosen(); }); }); <link…
-
1
votes2
answers414
viewsImage rotating automatically
Guys, I have a little problem with my HTML/CSS... Some large-sized images are rotating themselves... Below is a print for you to understand better: Note that the first two images are in the correct…
-
1
votes2
answers144
viewshow to assign html code in javascript variable?
I want to assign that code <div class="menu">...</div> to a JS variable, like this : var Code = '<div class="menu">...</div>…
-
1
votes1
answer515
viewsCan I put the navigation menu inside the site header?
Could I put the navigation menu inside the header of the site? Normally, it comes after the header (from what I saw). If I put it in, is it wrong? I made a website, after I saw that Nav was inside…
-
1
votes0
answers79
viewsCSS fails to open in mobile
So I have the following page: http://funerariasaopedro.net.br/novo/ Computers run well at any resolution. This, of course, using plugins that reduce browser resolutions. Tested in Firefox, Chrome…
-
1
votes1
answer52
viewsTypeerror: obj is not defined access error and an array
When I try to run the following code var largura = 800, altura = 500, mainColor,canvas,ctx, player = { x:400, y:250, largura:50, altura:50, color:"#cc3030" }, obstaculo = { obstaculos:[], time:0,…
-
1
votes1
answer630
viewsWhy do font-faces not work from one pc to another?
Hello! I created a website on a computer with external sources, using the @font-face tag. However, when I opened the html document on another pc, the file did not load the fonts. I put the font-face…
-
1
votes1
answer549
viewsChange the color of the <Progress> element
I’m trying to change the color of the progress bar, <progress> by css?
-
1
votes2
answers400
viewsPass javascript parameter to a php page by a button
I need to delete a record in the database by id, I am displaying my table with the records through ajax and jquery, however I need a button that excludes by the id of the record, I have created the…
-
1
votes1
answer42
viewsView products 4 by 4 after button click see more
Initially I want to bring 4 products from an array and I would like to display 4 more after clicking the button see more. In the code below I bring them all at once. current code below: <?php…
-
1
votes3
answers1347
viewsHow to create a clickable link within another
I have a system where I need to create a href clickable link inside a div that is also clickable. In summary I wanted to know if there is any way to create a "clickable link B" inside a "clickable…
-
1
votes1
answer751
viewsSet as Pattern values with two decimal places in input Html5
I have a numerical input, and I would like it to be valid only by Pattern, values with . xx (point plus two decimal places). My code: <div> <label for="valorTr> Valor: </label>…
html5asked 6 years, 6 months ago Lucas Pletsch 787 -
1
votes1
answer641
viewsHide and show div after a certain time
I am creating the screen of a system that will show some graphics and will be displayed on a TV. There are two class one . screen-01 and another call . screen-02 this with display:None. I would like…
-
1
votes0
answers252
viewsVideo Html5 with advertisement
I have a code to put an ad in video 5 seconds, but I can’t put it on top of the video in the right corner, I can use css but with full screen it doesn’t work, someone has an idea var media =…
-
1
votes1
answer1177
viewsUse <a download href=""> tag by passing https address to href
I am trying to download a file, passing an https address, follow example: <!DOCTYPE html> <html> <body> <a…
-
1
votes1
answer468
viewsChange the color of a Webgrid mvc <td> tag
That’s the WebGrid and I need to change the background color of Celula filled in "IN PROCESSING": for Red: CSS <style type="text/css"> .grid { margin: 4px; border-collapse: collapse; width:…
-
1
votes0
answers34
viewsslide with thumbnail database images
I’m developing a mini store. I would like help to create a slide taking the images from the database, so that they become list format and when you click on any of them, the selected image appears in…
-
1
votes0
answers35
viewsFunction savefile(); exports default to downloads folder
Good morning I would like a help, the function is exporting straight to download folder, I would like to be able to choose which folder to save the file on. I still can not see a solution for this…
javascript html5 filing-cabinet javascript-events exportasked 7 years, 6 months ago André Vieira 11 -
1
votes0
answers42
viewsUpload preview in modal
I was previewing through another tab: public visualizarArquivo(file): void { var url = window.URL.createObjectURL(file); var a = document.createElement("a"); a.setAttribute("href", url);…
-
1
votes0
answers193
viewsHow to change the length of an input in Asp.net MVC
Hello, I’m having a hard time changing the width(length) of an input in asp.net MVC, I followed the course guidelines and it didn’t work. follows the code of my view, if anyone can help.... I can’t…
-
1
votes1
answer57
viewsCalculate subtotal even if all fields are not completed
I have a form where procedures values need to be entered to be calculated at the end, but the values will not always be typed in all fields. I wanted to know what is the validation for the total…
-
1
votes0
answers18
viewsWordpress - Check whether mouse passed/clicked on image without links
I researched a lot already and did not find anything that serves, I need something in wordpress that runs in the html widget, that in a common image being displayed without any link register…
-
1
votes3
answers181
viewsEnable contenteditable="false" tag for "true" with javascript
How to make a script so that when I click the edit button, automatically my div will be editable and the save button appears that when clicked will disappear and my div will again be non-editable?…
-
1
votes1
answer1258
viewsHow to center text within input type="time"?
.menor { text-align: center; } <input class="menor" type="time" id="abre" name="abre" required><br><br> On the computer, it works normally. But on the phone, the text is not…
-
1
votes1
answer159
viewsSend data to different pages in one form
Good afternoon guys, I have a form that needs to do 2 different actions, 1 of them is to update a php page with name update.php and another to delete with name delete.php, I need to depend on the…
-
1
votes0
answers343
viewsHow do I change input type="file" path and send form with another image?
I need to upload several images that are within my application. My form is this: <form id="uploadForm" enctype="multipart/form-data"> <div class="file-field input-field offset-s4">…
-
1
votes0
answers70
viewsBug in name sequencer
I developed a system that writes, in sequence, a phrase inside my div And after a few seconds, it replaces the text with a pre-programmed one. It works normally, but in case I change the tab for a…
-
1
votes0
answers44
viewsimage appears in explorer but can not view
I’m uploading files with Html5, ajax and php. Everything goes well, the recording in the bank is done, the upload is done, but the image, when you see it in windows explorer, even if it is there,…
-
1
votes1
answer254
viewsHow to get a div of another html page with pure js?
I want to upload a list of a div, from one page to another (both on my server). I know that for this there is the function jquery $('#content').load('paginaexemplo.htm' '#lista'), but I’d like to…
-
1
votes0
answers183
viewsOrganization of mautic form tables in an HTML site
## I’d like to leave the form that way ## <!-- ***** Contact Area End ***** --> <section class="contact_us_area section_padding_90_0" id="contact"> <div class="container"> <div…
-
1
votes2
answers259
viewsIs it possible to customize an Alert?
Between an if and Else I have a call from an Alert to return a reply to the user, between both the layout of Alert itself is not very according to the layout of the site, I would like to know how I…
-
1
votes1
answer322
viewsDelete Button and Edit Fields (PHP,SQL,HTML,CSS)
I’m new here, student of Computer Science and Programming Internship... I do not know much how the forum works, but I have a pertinent question that I have reviewed Google several times and still…
-
1
votes2
answers613
viewsCalling a function after validating a form in Bootstrap
I am trying to do an exercise which consists of displaying values after the user provides the correct data in a form. I tried to use <form class="needs-validation" onsubmit="calcular()"…
-
1
votes2
answers71
viewsModify an HTML element or a browser native function
Guys, next... Google Core supports the element <dialog> and its functions showModal() and close(). However, some browsers do not support it. I made a simple script, which checks whether the…
-
1
votes1
answer365
viewsPosition image relative to another even changing resolution
I have the logo and a black triangle background. How to position the logo forever stay in the center of the triangle even changing the resolution? <img class="img-responsive triangulo-laranja"…
-
1
votes3
answers4012
viewsinput datetime-local value
Hello friends all right ? In my database I have the date time so:2018-06-22 12:00:00 in the final html is this way: <input type="datetime-local" class="form-control" id="data_contratado"…
-
1
votes1
answer450
viewsUpload a file with JS
First I wanted to say that I got to read some posts about it right here in the stack, but I couldn’t make it work, so I decided to post my code. My idea seems to be very simple, I need to upload a…
-
1
votes1
answer579
viewsHow to declare and use the @viewport rule?
I’ve been reading that the meta viewport has better implementation by Rule viewport CSS, but it’s still confusing for me...
-
1
votes1
answer141
viewsNAV tag does not occupy specified width
The tag NAV does not occupy the specified 1200px width, getting smaller than required. And tag NAV of the next menu occupies the line not occupied by NAV superior. Take the example: As spoken the…
-
1
votes0
answers1135
viewsPush in HTML5 with PHP
I’m finalizing a system, but I’d like to include push notifications to warn users about a particular event. I searched the web, but I did not find anything satisfactory. I believe that I have not…
-
1
votes2
answers300
viewsHow to Protect the Clickjacking Site
Hello, I scanned my site and found that it is vulnerable to clickjacking type attacks, I saw that a solution would implement the header-frame-options x HTTP, my doubt is how to implement it? Would…
-
1
votes0
answers66
viewsType type="email" field despises Validationmessagefor Asp.net mvc?
When you use this kind of field he despises ValidationMessageFor? In class [Required(ErrorMessage = "Informe o seu login.")] [DataType(DataType.EmailAddress, ErrorMessage = "Por favor insira ...")]…
-
1
votes1
answer1305
viewsHow do I set up @media for mobile?
I have a cell phone Moto G and I can’t define the @media to work for him. Reducing the width of the browser works perfectly, but the mobile device does not adjust according to the @media. Below I…
-
1
votes1
answer499
viewsIt cannot be assigned as it is read-only after doing a "Join"
Controller: [HttpPost] public ActionResult Listar_Json() { var id = 5; var search = Request["search[value]"]; //Aqui pega valor digitado no input, digamos que ele digitou 100.000,01 var query =…
-
1
votes1
answer263
viewscss Glow Effect with CSS
On this website https://nestpowerproject.withgoogle.com/ there is a very interesting Glow effect; do not know if it will be done with CSS Can anyone give me any tips on how to do that? Grateful…