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
votes1
answer122
viewsIs there any way to use a "custom-attribute" as the value of a CSS property?
I would like to know if there is a possibility of using a custom-attribute of the kind data-*=" " as value for a CSS style or even use this custom date as a value for a variable in the CSS. To…
-
5
votes1
answer1383
viewsIn HTML how to increase the space between Tds without using cellspacing cellpadding?
My idea is to make a table where it has a spacing between cells, as in the image: But according to the Mozilla documentation for example, it is possible to confirm that the attributes cellspacing=""…
-
5
votes2
answers259
viewsThe UL LI losing formatting after I put it on line... Why did the "balls" of my LI disappear?
I have an unordered list <ul><li> I wish it to stay horizontal, not vertical, but when I put it to stay in line with display: inline-block my indicative "balls" are gone! Note that the…
-
5
votes4
answers844
viewsHow to Make Material Design Style Button Only with CSS
On Android and on design system Material Design is common to see this button they call Ripple Buttom. https://material-components.github.io/material-components-web-catalog/#/Component/ripple But it…
-
5
votes2
answers68
viewsHelp with flexbox
I’m struggling to do this with flexbox. With float was very easy as it organizes easily. .slider > div > img { width: 100%; height: 100%; } .slider > div.item-1 { width: 60%; height: 500px;…
-
5
votes2
answers185
viewsWhat is the relation of the <figure> tag to the main stream in HTML?
Reading about the tag <figure> I found this text in MDN documentation: The HTML Element <figure> represents the independent content, often with a caption (<figcaption>), and is…
-
5
votes1
answer1295
viewsMake a DIV push the rest of the content down
Everything all right? I have a question here, but I wanted to understand, not just ask people to do what I need to do. I will try to explain: I have a button to add lines of text. Below this button,…
-
4
votes1
answer1360
viewsPeriod filtering in data type inputs
I have a system where I own a <input type="date"> and need to filter it, to bring on the calendar only the dates of 3 months ago and the current month I was using the attributes min and max…
-
4
votes2
answers447
viewsjQuery who changes div background specifies
I need a help with the following problem, I have the following HTML, which is part of an acordion <div id="accordion2"> <h3 class="btn-sub-main"><a>Banho</a><div…
-
4
votes2
answers269
viewsForm php takes different value than typed
I have a PHP form. When I give Submit it should take the values coming for $_POST. But it turns out that the returned data comes only value 1. I don’t know what’s going on. Everything seems normal.…
-
4
votes2
answers11327
viewsIframe view of PDF
It’s been a while since I’ve been looking for how to view PDF files in an iframe or div on the page itself, instead of opening in a new one and using Adobe Reader. Only the problem is that the files…
-
4
votes3
answers1771
viewsPrint html code
How to print html code ? Example: <div id="css"><link rel="stylesheet" href="jquery.css.css"></div> it does not print the link tag, it links another css, want to write this tag pro…
-
4
votes3
answers5051
viewsInclude link in a container
I have a container in my code and I need it to be clickable, with href, let’s assume that by clicking it directs to "Google.com". How can I do this? <div class="project-2 v-center">…
-
4
votes2
answers465
viewsWindows Phone does not load . font in CSS
I’m making an HTML5 application Responsive, using Bootstrap and Smartadmin, etc. Works on all devices. Including Internet Explorer 8, 9, 10 and 11 but on Windows Phone 8 (with the latest update that…
html5 css3 twitter-bootstrap windows-phone css-font-faceasked 10 years, 6 months ago Dorathoto 7,426 -
4
votes1
answer328
viewsDoubt about POST and GET in php
I tried searching the internet, but I couldn’t satisfy my doubt... I started programming web recently, although I have already used post and get, I found myself in a situation where I was "stuck". I…
-
4
votes1
answer2820
viewsRender pages within _Layout.cshtml of other types. Asp.Net MVC 4
I’m basically developing a kind of social network, but I’m having some problems rendering pages inside my _Layout.cshtml page. Html <ul class="dropdown-menu"> <li class="header">Você tem…
-
4
votes2
answers208
viewsHow to change the style of superior brothers?
I have a parent element (div#workarea) that has four children: figure#start, p#first, figure#start2 and p#second: <div id="workarea"> <h1 id="title">Área de Testes</h1> <figure…
-
4
votes2
answers432
viewsReferences for learning web programming
Which websites can I check to start studying web programming? I’m a beginner in the subject.
-
4
votes1
answer1165
viewsUsing Data Annotations to validate fields from an HTML page and Web API
Someone has an example of how to create a field validation in an HTML page using Data Annotation, Web API and C#. In MVC with you, this is easily achieved by using Wizard when creating a View.…
-
4
votes1
answer229
viewsHow to apply a function to multiple objects? (Pure Javascript)
For example, I have a div within a variable obj obj = document.getElementById("objeto"); ..I want a function to be applied to it that way window.onload = function(){ window.onclick = function (){…
-
4
votes3
answers1670
viewsLimit HTML5 Audio Controls
I wanted, if it were possible, of course, that a component <Audio> HTML5 only shows the mute, and the rest did not appear; as the volume, play, pause, etc..…
-
4
votes1
answer611
viewsDataannotation validating property with Javascript plugin. ASP.NET MVC
I need to validate a field of my model that has a text editor in Javascript. So far so good, because the problem only occurs in the registration that I do not receive in the parameter of the Action…
-
4
votes1
answer1614
viewsWriting in Rectangle - HTML Canvas
I’m using the following code var canvas = document.createElement("canvas"); canvas.width = 55; canvas.height = 20; var ctx = canvas.getContext("2d"); ctx.fillStyle = "red"; ctx.fillRect(0, 0, 100,…
-
4
votes1
answer134
viewsTransmit information without going through the server
The question is simple and fast, there is some way to send data without the need for them to pass through a server, for example to send data from a form that user A filled out to user B in real…
-
4
votes1
answer245
viewsHow to create a page numerator?
I am developing a page "News" with several news, and it will be displayed only 9 news per page, above that, should go to page 2 and so on... how do I do this?…
-
4
votes1
answer693
viewsWhat are the ways of data storage in the browser?
I need to store information in JSON format directly in the browser, I’ve heard of localStorage HTML5 however it has storage limits that I would like to extend if possible if there are no…
html5asked 9 years, 9 months ago Gabriel Henrique 375 -
4
votes1
answer2703
viewsFixed sidebar layout on bootstrap
I’m wanting to make my website the following way with Bootstrap I’ve tried every possible way to make it nice and responsive and I couldn’t! Can someone give me a light on how to make this layout…
-
4
votes2
answers374
viewsIs it possible to build a pure HTML register?
I need to create a register with name and description in HTML, or PHP, that does not make use of a database but I do not know if it is possible. Something that can store the records on file and also…
-
4
votes1
answer225
viewsHeight on video Html5
I’m using the tag video of Html5. I wanted to make my video with the height 100%, however, so I use the attribute height, it repositions to my video and does not enlarge it. I wanted to make a menu…
-
4
votes5
answers9469
viewsHide HTML code
The thing is, if you can, go to some website and disable javascript and do F5 to update. You will see that the content of the site is gone, yet if you upload it for example CTRL + U, you will see…
-
4
votes1
answer9724
viewsHow to access webcam and photo with HTML5 and Javascript?
Does anyone have an example showing how to implement this application and then save the image?
-
4
votes2
answers786
viewsHow to update the canvas?
On a canvas, I added 10 small squares, but I also want to be able to change the position of these squares continuously, and that change be drawn on the screen whenever I do (I don’t necessarily need…
-
4
votes3
answers1551
viewsKeep the height of a div block proportional to its width
Hello, I have a block div in the form of a vertical column of indeterminate width and height, as they depend on the amount of content and the device, and I want inside it to have another block div…
-
4
votes4
answers1730
viewsHow to display "Update your Browser" warning when it does not support HTML5?
How to show the warning "Update your Browser" when the user browser does not support HTML5 tags or CSS3 properties? One initiative that encourages this is the website…
-
4
votes1
answer300
viewsSend and receive SMS from a GPS
I need to send a SMS for a chip do GPS and he will return me a coordinate. How do I send and receive this SMS? Examples of links and services based on HTML and JavaScript for this shipment?…
-
4
votes1
answer8087
viewsHow to make an image rotate
need to make an image rotate infinitely with only HTML and CSS it is possible if yes how it can be done.
-
4
votes1
answer396
viewsHow to prevent Adsense links from opening in new tab
Is there any method to prevent my site from opening links in a new tab and making them open in it? And the other way around? Thank you. Edit: I use Google Adsense. Some ads open in the same tab,…
-
4
votes1
answer262
viewsTimeline effect
I wonder if there is a plugin for the same effect as that site here: http://www.popupdesign.com.br/servicos/ In the part of how it works, it has a kind of vertical ruler.…
-
4
votes2
answers137
viewsWhat JSF DTD to use with HTML5 tags
Usually, when I do a JSF page with XHTML, I use the DTD for XHTML 1.0 Transitional. However, if I use namespace and put some HTML5 tags (passtrough Elements/Attributes), which DTD should I use?…
-
4
votes1
answer202
viewsScript to mute my site (game)
I have a project in localhost (little game in HTML 5, JS and CSS), at the bottom of the game plays a song, I can’t make the button to turn off the sound work, anyone knows any article teaching or…
-
4
votes1
answer308
viewsVideo playback problem using HTML5 native tag
I recently hosted a video file on MP4 on my server and used the native HTML5 tag for playback of the media on the website. The sound comes out normally and the video is not displayed (I tested it on…
-
4
votes1
answer236
viewsLatency <audio> Html5 on mobile phones
I am starting in javascript and I have in my hands a simple project but they are breaking my head. The project consists of creating a multitrack player (such as recording studio software) where by…
-
4
votes2
answers1201
viewsModify Canvas in real time
How can I use the tag canvas HTML5 and make this change in real time as I input the data into input? I’ve already done the form and put the tag canvas page. I was wondering if JQuery it is possible…
-
4
votes1
answer235
viewsImage smaller than the original canvas upup when drawImage()
I am developing a system to filter images with canvas Html5, however, as I am at the beginning, I have already had some doubts and errors. At this "start" I want the canvas size to be equal to the…
-
4
votes2
answers257
viewsSimulate browser without HTML5 support
I am developing a website that can be opened in a browser without HTML5 support (canvas, etc). I would like to perform tests, just change the User Agent or there is a specific tool?
-
4
votes2
answers5048
viewsHow to make a progress bar with steps?
How could I make a step progress bar using Html5, css3 and js? An example to clarify what I need to do: I prefer to do it from scratch, but is there any library ready for it?…
-
4
votes1
answer1289
viewsPost typing effect on placeholder
Guys I’m trying to add a behavior to a placeholder but I’m not getting it. On the website of ticket with. when the user enters a value in the placeholder forml some and a small label appears above…
-
4
votes1
answer369
viewsTag <video> controlling by javascript
How do I so that when I click on the video it starts uploading, because I’m not getting if anyone can help thank you. Here’s the code snippet from the video: <div class="video"> <video…
-
4
votes2
answers541
viewsHow do I check if my application is open on mobile or web?
I need to do a.css style for mobile and another for web .
-
4
votes1
answer495
viewsChange script to show video in Html5
How do I make this script shows an HTML5 video instead of Flash Player? My script looks like this: In this script he injects the video link into the flash player, I would like to replace this with…