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
-
5
votes2
answers3400
viewsHow do I use @Font-face with an arbitrary font?
I wonder how it works @font-face how should I apply it in my code CSS because I want to use a source called Tekton Pro but only use tag font-family:Tekton Pro does not work and would like it to…
-
5
votes2
answers12739
viewsUpload Only from Images
How to upload images only(.png and .jpeg)? Do not allow the choice of another file type. I’m using as per below: <input type="file" name="arquivos" class="btn btn-success" multiple/> At the…
html5asked 9 years, 6 months ago Janderson Thomaz 497 -
5
votes1
answer3205
viewsSearch field in the <select> form
Good night, I would like to know how to in the list of a select enable "search" within the field? <select class="input-xxlarge" onchange="clienteChange()" style="width: 409px !important;"…
-
5
votes2
answers738
viewsCkeditor does not recognize required attribute
I’m using Ckeditor to create pages that may contain forms (in other words, forms can be inserted into the content being edited, because I’m using the full package). I wish I could use the attribute…
-
5
votes1
answer26463
viewsUsing Javascript to change CSS property
I’m not getting it to work, I have a retractable side menu and a button in a bar in the header. I’ve set my menu to margin-left: -250px; and wanted that when I pressed the button it set to…
-
5
votes2
answers3481
viewsImage inside of round div
I have a div block with height and width of 55px and border-Radius: 100%; and I want to put an image inside, but if the image is rectangular and I leave it with border-Radius: 100%; it is oval!…
-
5
votes2
answers33846
viewsPassing JS values to another HTML page
It is possible for javascript to pass a variable whether it is global or not from one HTML page to another HTML page? index.html receive variable.html Like, any way to save that value and page to…
-
5
votes2
answers694
viewsHow to create a drawing in open book format and with content inside?
I need a drawing of an open book with contents inside, as the image below: ONLY WITH CSS!…
-
5
votes3
answers605
viewsMetro style checkbox
I need to change my checkbox to be identical to the following image: should look like this when it is marked, when it is not marked, remove the whole edge and figure at the end. I did not enter code…
-
5
votes1
answer200
viewsGet widget without id
I have a div, and within it one canvas without id and other elements. <div id="itens"> ... <canvas></canvas> ... </div> How can I get the canvas using JQuery?…
-
5
votes2
answers114
viewsMake a site not run on any version of IE
I have a website that should not run on any version of IE, when trying to open the url I want a background-image that I will mount by saying that my site is not supported on IE. This is possible to…
-
5
votes1
answer12530
viewsHow to compare two dates in Javascript or jQuery
I’m trying to compare two dates from fields text, turning them into objects Date, as follows (the first function is to format the field input with XX/XX/XXXX): function formatar(mascara, documento){…
-
5
votes1
answer723
viewsProblem loading image in HTML (Performance)
While the entire DOM parser process is blocked, this prevents the rendering of the rest of the page. And this if applied to each page script tag. A way that I found to "circumvent" this problem was…
-
5
votes2
answers536
viewsUsing Animate() jquery to animate the place change in a puzzle
https://fiddle.jshell.net/sLa0q4yh/ This example above is not yet fully functional, the logic of the puzzle is: 1 - Click on at least two Ivs (or 2 pieces of the puzzle) and so both Ivs would have…
-
5
votes2
answers1574
viewsIs there any way to configure the image quality to increase the upload speed?
Is there any way to leave a particular image, through CSS, with a lower quality, to increase the page loading speed? Example: First load a certain image with lower quality, then increase the quality…
-
5
votes2
answers1625
views -
5
votes2
answers60
viewsSlides conflicting with each other
I have the following problem I have a slide right at the beginning of my tag page <header> but one of their codes is imported that would be the url put now in my <section> I have one…
-
5
votes1
answer1595
viewsIdentify if your computer has a QR Code reader
The first stage of registration of my project has two layout options: one for those who have QR Code reader (web cam) and another for those who do not have. I need to identify if the user’s browser…
-
5
votes2
answers388
viewsWill Websql really be discontinued?
I’m having a lot of problems trying to run a program developed in HTML 5, Javascript, Ajax, JSON, Indexeddb, Mysql, PHP, along with the Intel XDK IDE. The program is quite simple it captures…
-
5
votes4
answers1125
viewsCreate external html pages
I know how to create external css pages. Which is quite useful. However, I don’t know if it’s possible to do the same for html without using frames. This is a link to an external style page <link…
-
5
votes1
answer1476
viewsA real reason to use the data-* attribute in the html element?
Can anyone mention a single real case of using the data-* attribute (in the pattern that suggests W3C) for the html root element? If a real reason is not possible, at least then imagine a situation…
html5asked 8 years, 8 months ago Ingrid Farabulini 1,002 -
5
votes2
answers855
viewsUpdate from change in select
I have a list of multiple selects and I need you to update the select option in the database. I can do this through ajax + php. My doubt is actually how to trigger the event from the option change.…
-
5
votes1
answer188
viewsHow to keep a rotated text centered on a dynamic height div?
Basically my problem is in color div, and rotated text. I need the color div to have the minimum height relative to the size of the rotated text, and the maximum height to be relative to the…
-
5
votes2
answers986
viewsWhat is the best practice for integrating external content into my website?
I am developing a site in PHP and I will need to integrate a content that will be on a page of an external site. This page will be with little formatting, without header footer and sidebar, I’ll…
-
5
votes2
answers1234
viewsUse more than one H1?
If I’ve ever used one H1 to set my Header logo/title, I can use some more H1 on page ? or just H2.. ? I can’t remember where I read, but I can use H1 in every article or section ? <header>…
html5asked 8 years, 4 months ago Quero Aprender .. Desculpe 147 -
5
votes2
answers569
viewsDOCTYPE declaration of HTML
By the standards of the W3C we must declare so: < ! DOCTYPE html >, however I saw on a site that they declared only this: < ! DOCTYPE >, the semantic value is lost or the browser reads…
-
5
votes2
answers191
viewsReload script whenever the event happens
Hi. I was looking and I couldn’t find anything related around here, so I’m coming to ask. I’m working with the one plugin 'http://tympanus.net/codrops/2014/10/30/resizing-cropping-images-canvas/',…
-
5
votes3
answers998
viewsResponsive font according to text size
How can I make a source responsive according to the size of the text? I have a website: radioturn.com.br The name of the song is constantly updated, I would like to remove the mark and let it stand…
-
5
votes2
answers228
viewsWhat’s wrong? BD + Laravel
I have a form in Lade taking the values of the database. In it I have a field date not required to be filled in. When you enter an empty date the results screen displays the date "01/01/1970". How…
-
5
votes2
answers3936
views -
5
votes2
answers33940
viewsHow to hide sidebar and vertical bar with CSS
I would like to hide these two bars (Vertical and Horizontal), I have configured my . css file with the settings below, but they are not working: @charset "UTF-8"; section#conteudo{ width: 1000px;…
-
5
votes3
answers1214
viewsHow to style the input type search "clean" icon?
I need a way to stylize the icon at the end of input[type="search"]. The input type search when focusing on the element, it displays one if it has a value filled. Example: I realized that by styling…
-
5
votes2
answers8717
viewsHow to restrict the filling of only numbers in an input with Angularjs?
I noticed that the page has the following code for an input: <div class="form-group required col-md-3"> <label for="area" class="control-label">ÁREA(ha):</label> <input…
-
5
votes2
answers339
viewsHow to avoid very big win condition in old woman’s game?
I made an old game that checks the user’s win conditions with if, however did not find an elegant solution. I am trying to develop a method to verify the condition of victory with array, but I’m not…
-
5
votes1
answer64
viewsIs it wrong to have header and Section tags and not have a footer?
I have a single page application, very simple even, and used the tags header and section, without creating a footer, because I found it unnecessary. Is there a rule or recommendation about this? Can…
-
5
votes2
answers117
viewsHow to call different modals, without using database
I’m having some difficulties, I know this is not the ideal way, but it’s what I need at the moment. I have a list medicos and need to call a different modal for each of them, without database,…
-
5
votes3
answers1936
viewsHow to pass dynamically changed value to function, in Angularjs
The fields itemCodigo, itemDescription, itemPreco and itemQuantidade are filled dynamically (at runtime, without refresh) from a query performed in the database. However, these values, when passed…
-
5
votes4
answers9608
viewsHow to select more than one item in a Select Option
I need to choose more than one option in a select. For example, I could have a checkbox inside the select but I don’t know how to do it, can help me? <div class="col-md-3"> <label…
-
5
votes2
answers583
viewsScript js does not interrupt form Ubmit
Guys I’m having a problem with an algorithm in jquery, that of uploading files with ajax without updating the page. I don’t know why when I put the return false; at the beginning of the algorithm…
-
5
votes1
answer144
viewsExtension to improve Atom productivity
I wonder if anyone knows any tool that provides these functions in the Atom editor or Atom IDE? These functions help me in day-to-day productivity!…
-
5
votes4
answers9132
viewsHow to change the color of a select when selecting an option
I have a select and I’m trying to change the color of it by selecting an option (for example I’m changing the color to red). Using some attributes like hover, focus, active and checked i can even do…
-
5
votes2
answers636
viewsRequest of type Options
My question is, whenever I make a request before it is actually sent a Options request, I wonder what it’s for exactly. What impact can I have by removing this request both on performance(internet)…
-
5
votes2
answers141
viewsImg in header changing at each page load
I am starting a new HTML5 project and would like to put a background img in the header, in vdd I want to put 4 images and I want them to change in each refresh on the page, I don’t want a slider, I…
-
5
votes3
answers10051
viewsHow to change the background of a CSS-only checkbox?
CSS in width and heigth has an effect, because background-color nay? input{ width: 20px; height: 20px; } input:checked{ background-color: blue; width: 25px; height: 25px; } <input…
-
5
votes2
answers64
viewsAbout CSS flexbox: equal values for properties other than CSS
I am studying the language documentations, and it occurred to me the following doubt: Both the property align-content as to property align-items accepts the values: flex-start flex-end stretch And…
-
5
votes2
answers1483
viewsHow to create a toggle button with input=checkbox without using the <label> element?
Is to create/transform a <input type="checkbox"> on a toggle button without needing the element <label> as in these examples: How to create a toggle on and toggle off button? An example…
-
5
votes1
answer574
viewsLoading animation
I have a code that makes a loading animation before starting a page. css. .preload{ position: fixed; z-index:99999; top:0; left:0; width:100%; height:100%; opacity:1; background-color:#fff;…
-
5
votes1
answer261
viewsCSS: Border Radius
I’m doing a project where I’m using the border radius to make a vertical menu. I would like the Menu to have the border Radius straight, this rounded shape : And it’s actually getting this way:…
-
5
votes1
answer205
viewsWhat is the size limit of Indexeddb technology?
Today at work they mentioned the technology IndexedDB to solve a problem here in the company, but Between several questions arose me, being one of them: What is the data limit that can be stored in…
-
5
votes2
answers6999
viewsLink href to id div
Well I know we can make links by directing the click href for a page id using #. #content1, #content2, #content3, #content4 { height: 50vh; border: 1px solid red; } <a href="#content1">…