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
answer960
viewsHow do I make an image appear on the full screen only in mobile mode?
Are two site templates, the desktop (Which is already ok) and mobile. In mobile, I want it to display a black background with JUST an image occupying the center of the screen. The entire length…
-
2
votes2
answers255
viewsMaterializecss is not responsive
A few days ago I made a template in materializecss; today I stopped the phone and realized that it is not getting responsive. I’ll leave some prints to clarify: Responsive (only when browser…
-
2
votes1
answer294
viewsTinymce - How to turn it into a required field?
I’m using a field of TextArea with the TinyMCE for text posting and would like to know if it is possible to add some validation so that it does not accept blank values. I’ve tried to add the…
-
2
votes1
answer113
viewsBlock scrolling by screens
as that blocks the scrolling of the page by the keys with jquery, up key(38) and down key(40), leaving the scrolling only by the mouse?
-
2
votes0
answers187
viewsScrollless Iframe in Safari Mobile
I need this to: http://jsfiddle.net/R3PKB/2/embedded/result/, scroll in the existing body inside iframe, but in Safari Mobile it forces iframe to have the maximum height of my content and with that…
-
2
votes2
answers89
viewsClick an H3 and focus on a form field
I am organizing a contact form, divided into several parts. One of the things I need is that when the user clicks an H3 (but it can also be a div, anchor or button) a specific field of this form is…
-
2
votes1
answer3455
viewsLoad content from one div into another div
I have the following problem. How do I load a content from a div into another div empty that is in the same HTML file? Example: <div class="conteudo"> <label> Teste 1 </label>…
-
2
votes1
answer3557
viewsVideo not listed on youtube problems to open using iframe
I am unable to open videos not listed on youtube using the html tag iframe, the following error occurs: Refused to display 'https://www.youtube.com' in a frame because it set 'X-Frame-Options' to…
-
2
votes1
answer1207
viewsHow to save an html page in java
I have a project that I need to make a report for each code. And save it on disk in PDF format. After generating the report, I don’t know how to pass the page (generated) to Servlet and save it in…
-
2
votes2
answers333
viewsEquivalent Hide and CSS show
The code below does not run on all browsers: <button id="btn"> <img class="" src="/img/icone-formation.png" height="100%" width="100%" onclick="document.getElementById('f1').style.display…
-
2
votes1
answer3451
viewsHow to correctly divide a <th> into html?
I want to make a table, where the <th> split into three, a line at the top and a line broken into two at the bottom, but I cannot separate the <th> in two like the <td> since we…
-
2
votes2
answers179
viewsFunction that generates file
How to create a javascript function that generates a.ini file? For example, I will fill in 2 fields and it will generate a file like this [teste] nome: "campo 1 que vou preencher" teste: teste…
-
2
votes0
answers41
viewserror in content registration
This is my first post so sorry if you do anything wrong if I violate any rule please let me know. my doubt is as follows: I am creating a "social network" and the post code is not working I used the…
-
2
votes1
answer2094
viewsHow to put a SECTION next to each other?
I can’t, every time I try to cut the baseboard or it goes up. .principal { margin: 0 auto; background-color: #000000; } .bloco { height: 100%; width: 50%; padding: 5px; border-sizing: border-box;…
-
2
votes1
answer269
viewsHow to hide an input field from another page through javascript?
Setting I have two pages .html. On one of the pages I have two options of brand radio both have id, are they XPTO and YPTO e. What I need to do is, when choosing XPTO and then press the button…
-
2
votes1
answer226
viewsWhere can I use the -Webkit-Details-Marker?
Wanted to remove the default arrow from the tag details/summary in HTML and found this solution to use the -webkit-details-marker. I wanted to know what she really does, because I didn’t find any…
-
2
votes2
answers4704
viewsCount elements within a parent div separately
In Jquery it is possible to count the number of equal Ivs within another using the $(".pai .filha").length;. Example: <div class="pai"> <div class="filha"></div> <div…
-
2
votes5
answers7505
viewsHow to make the font size automatically fit the size of a div
Hi, I have a div of 300px for 300px, on it I leave a text that comes from a database, the problem is that there are times when the text inside the div exceeds the size of the same, leaving…
-
2
votes1
answer758
viewsHow to mount an array of selected select items in html and scroll through it to organize items in javascript?
I have the code: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); associar.click(function() { var…
-
2
votes1
answer61
views"Mask-image" property does not work in Firefox. Is there an alternative solution?
I am doing a project where I should apply a mask (PNG or SVG) on an image < img >. I’m using .svg-clipped { mask-image: url("../img/desktop_tds_hist.png") ; -webkit-mask-image:…
-
2
votes1
answer691
viewsHow to get values from two html selects in javascript?
Basically I have the code below: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); var gravar =…
-
2
votes1
answer2822
viewsHow to get all the HTML of this page as a string?
I’m doing a college job and with that trying to read the HTML of a Bradesco page(Link I want HTML here) The problem is that I can’t get the HTML inside the frames and I don’t know how to get it.…
-
2
votes1
answer4141
viewsCSS font-Smoothing: antialiasied makes no difference?
It is possible in the late Fireworks cs6 (and by what I read in photoshop as well) to optimize font rendering. Searching to see was possible to apply this in the web pages vi that there are…
-
2
votes1
answer352
viewsOverlaid graphics
I need to make a chart like this But I haven’t found anything that can help me. Does anyone have any solution to this?…
-
2
votes2
answers21331
viewsHow to make a "back to top" button on a page?
How can I make a button return to top on an html page? Jquery, javascript, which would be best?
-
2
votes1
answer150
viewsShare Content on Facebook
To share a piece of content on Facebook I’m using the Facebook SDK API. These are articles on the site that will now have this sharing feature. I am doing so: <meta property="og:url" content="{!!…
-
2
votes2
answers1292
viewsHow to check if HTML tag has given attribute with JS?
In this code: <img id="SizeImage1" style="cursor:pointer"> As you can see, it has no attribute src. How can I know if a certain tag has a src or not using Javascript?…
-
2
votes1
answer92
viewsButton with glyphicon-remove with size problem
Please see this link in demo: http://www.bootply.com/eiG8eKm3Ao I’m trying to center the "X" inside the red button. Code: <button id="del_photo" type="button" style="width:20px;height:20px"…
-
2
votes3
answers1999
viewsHow to work with Table of Contents on Hymeleaf?
Through a tutorial you can create an inclusion of products using the following html code <c:forEach items="${tipos}" var="tipoPreco" varStatus="status"> <div>…
-
2
votes1
answer43
viewsHow to create a textarea autorisize with js?
I need to create a text field that grows with what the user writes, but has to be with pure Javascript, without jquery or something like.
-
2
votes1
answer473
viewsUpdate the inline of an html table
How do I update the line index of an html table after removing it ? I explain better I have a table I can add or delete items to add I use an auto increment variable: _contaLinha++: Add items to the…
-
2
votes1
answer62
viewsHTML5 form validations behave differently in Firefox
I was trying to find a better title for this question, but I still don’t quite know how to explain it, but come on. I have a simple form with three fields, if I miss one of them will be shown a…
-
2
votes2
answers64
viewsCan I only use HTML5 Form Validation for Client-side validations?
I’m a little worried about using HTML5 Form Validation because despite the simplicity of implementation for some browsers, mainly Ios and Safari support is partial as seen here. In my current…
html5asked 8 years, 6 months ago Rafael Alexandre 2,110 -
2
votes1
answer92
viewsHow to make a "link format" (a system that reads the content of other Webs sites)?
I would like to integrate a system similar to Facebook for reading external links in my project. Like when posting a "www.un-site-any.com" link on my website would like to get a result like the…
-
2
votes1
answer53
viewsAbout each, this and attr in jQuery
Good morning friends, I have a big question regarding these attributes (if I may say so), I would actually like to understand how each of them works, I wanted to understand why use each of them, I…
-
2
votes1
answer140
viewsLogic with callback
I am with a small problem and I would like a help to understand and if possible an indication from Srs to help this problem. Let’s start, currently I have a loop, I’m doing it in a been getting…
-
2
votes3
answers450
viewsSocket.io chat, setting url
I would like a help with chat using socket.io, I would like to define a URL, I am not getting, I can only access through localhost:3000. For example I wanted the chat to be on the homepage of my…
-
2
votes1
answer10046
viewsHow to use the Pattern attribute?
I’ve been all over the Internet, even W3school, and all I see is them reporting the "ready" code. With keys, interrogations, bars, cipher and several other parameters. But I couldn’t find anything…
-
2
votes2
answers1766
viewsDefined function not defined
My function being called during onclick event is not being recognized, this is the console error: ReferenceError: abrirfoto is not defined HTML(only relevant code): <!DOCTYPE html>…
-
2
votes1
answer2030
viewsLine break inside a Boostrap Popover
How to make line breaks inside a bootstrap Popover Example echo"<a href=\"#\" data-toggle='popover' data-title='Popover on Left' data-content='$data <br> $data' data-placement='left'>…
-
2
votes4
answers2773
viewsHow to mount buttons with Angular?
I have to mount three buttons and validate them at the angle, following the schematic:…
-
2
votes1
answer1069
viewsHow to implement a video player with quality options for online playback?
Does anyone know of any library or other way to play videos from my server with quality control to avoid slow upload, youtube style, so that the user selects the resolution (for example). Thanks in…
-
2
votes4
answers2449
viewsHTML 5 Bootstrap google maps
I am with a problem that the map does not load certainly, but it is only the second map, the others load normally. <!--Joinville --> <div class="row"> <div class="col-lg-6">…
-
2
votes2
answers1402
viewsHow to change Link color in HTML?
Greeting to all, I am studying HTML with CSS and I am still in the process of learning, I created a keyword, IE, when the page is above 992px wide it shows the menu, when it is less than 992px it…
-
2
votes3
answers869
viewsQuestions to send data via POST
Hello, I’m trying to send over $_POST some data for validation and later insertion in the database, what I could do in another project exactly the way I’m trying to do now, but I’m not getting it.…
-
2
votes1
answer643
viewsProblems with SECTION and ASIDE (HTML5)
I spent some time here with problems in the background-image and today I’m here again with problems in these two semantics... Whenever I minimize the window or inspect my code, the content in ASIDE…
-
2
votes1
answer1232
viewsUncheck other checkboxes when selecting one
Hello, I have three checkboxes in my form and would like me to select one the other two are unchecked. I tried to use some examples I found here but it didn’t work as expected. It follows the HTML…
-
2
votes1
answer673
viewsDelete item from an Inioc 2 array
I’m having a hard time understanding how splice() works. I need to delete items from an array when I click on (x), e.g.: <ion-item *ngFor="let item of data"> <ion-grid> <ion-row>…
javascript html5 angular ionic2 arraylistasked 7 years, 7 months ago Henrique Mendes Silveira Rodri 367 -
2
votes2
answers72
viewsSelector in CSS differences
What’s the difference between: .figure-box>figure>img{ width: 440px; position: relative; } To: .figure-box figure img{ max-width: 100%; position: relative; transition: transform 0.6s; }…
-
2
votes2
answers600
viewsclick on a button and appear the time within a div
I am creating a simple electronic point system, and I am trying to place the time within a certain div, the moment the user clicks the link enter, the time he clicked on this link appear within a…
html5asked 8 years, 3 months ago Daniel Miranda 23