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
votes2
answers4050
viewsSend PHP notifications
I see many sites using pushcrew (or other services) to send notifications, even if the browser is closed. My question would be, is it possible to do this directly using the HTML 5 Notification API?…
-
2
votes2
answers2828
viewsChange input value source Submit and reset
Is there any way to change the value font-family of the Submit input and reset, just like I did with the placeholder using ::-webkit-input-placeholder And there’s a way someone from you can help me…
-
2
votes1
answer6259
viewsPure JS Full Countdown Timer - Troublesome Countdown
People, I am creating a countdown timer accompanied by the buttons (start, pause, reset, restart and save time) and the initial time is set in an input as well. I searched several times in various…
-
2
votes1
answer2244
viewsConfigure form for printing
I created a form in which when it is filled out, it should be printed out. However, when I print it all out without formatting. Can anyone tell me how to make the print out formatted? And how do I…
-
2
votes2
answers12539
viewsChange color of a div using JS
I am trying to make a div element change background color when selecting the color of my input using Js. I’m not getting anybody to help me ? <style> .corExemplo { width: 150px; height: 150px;…
-
2
votes0
answers139
viewsCustom Web Push Notification
I’d like to know how I make one Push Notification in the browser that is customized per user. Could you tell me how to follow? It is possible to generate a ID single for that device the person is…
-
2
votes0
answers52
viewsEDGE can’t copy large images using JS from/to a canvas?
I have the following code, which copies pieces of the image "smoothchartshowAnalisysCopy" (500px X 250px) to the larger image (32172px X 250px). var c =…
-
2
votes1
answer89
viewsHow do I create a fullscrenn button for my video player?
<!doctype html> <html> <head> <title>Tag video</title> <meta charset="utf-8" /> <script language="Javascript"> window.onload =…
-
2
votes3
answers13362
viewsCarousel Bootstrap: Change Size
I’m trying to add my images, which have 700 x 400 dimensions, to the bootstrap Carousel. And I wanted Carousel to have exactly those dimensions, too. However, when I try to do this, the image…
-
2
votes2
answers1683
viewsPosition cursor at the end of text by clicking input
It has to do with every time I click on the input the cursor goes to the end of it? Notice that in this image he is before the 1 and wanted that every time you click on the input he goes to the end.…
-
2
votes1
answer89
viewsValidation Issues Upload Multiple Javascript Files
In the form, in an Input by selecting multiple images @using (Html.BeginForm("Edit", "RoomType", FormMethod.Post, new { enctype = "multipart/form-data", onSubmit = "return ValidateImagesUpload()"…
-
2
votes1
answer39
viewsWhat part of the HTML5 semantics do I put a form in?
At the top of the site I have a <form> search. In the HTML5 semantics within which tag I place this <form>. Type: Section, article, etc... <form name="buscaguia"> <input…
-
2
votes3
answers82
viewsDoes anyone know how to do this character in HTML? ( photo below )
I found nowhere this character... I need to put on a site, this "arrow" down, only the arrow, pure, for HTML.…
-
2
votes2
answers1092
viewsHTML5 - End date less than start date
I own two camps: <input type="date" id="data_inicial" value="<?php echo date("Y-m-d"); ?>" disabled> <input type="date" id="data_final"> The first field, I have the initial date…
html5asked 7 years, 4 months ago Sr. André Baill 6,946 -
2
votes1
answer468
viewsHow to position a Span tag on the page?
I’m studying ASP.NET MVC 5 and I’m trying to create a page where, in the upper left corner, I would have a "Menu" button, I was able to create the button and action, but I’m having trouble locating…
-
2
votes1
answer292
views -
2
votes1
answer117
viewsDifficulty Making a Different Shape
div { width: 280px; height: 280px; background: #1e90ff; -webkit-clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); }…
-
2
votes3
answers1296
viewsjquery to click and make appear/disappear different Ivs
I need to make sure that when clicking on the menu item, a div linked to this item appears on the screen, if I click on another menu item, the previous div disappears and the new div appears... in…
-
2
votes1
answer54
viewsHow to make a label with behavior="scroll"?
Follows code: <marquee behavior="scroll" direction="left">Seu texto aqui</marquee> How can I do this with label? <label class="col-sm-2 col-form-label" for="Link">Seu texto…
html5asked 7 years, 3 months ago Matheus Miranda 5,375 -
2
votes1
answer327
viewsDesktop Notifications - Javascript
I need to send desktop notifications to the user, even when the site is not open, but I can only call the notification at events (click, load, change...). How could I send these notifications?…
-
2
votes1
answer34
viewsUsing Code Snippet in HTML5
I’m putting together a page and in its contents there are code snippets HTML. I tried to insert snippets of code this way but it didn’t work: /* <!DOCTYPE html> <html> <body>…
-
2
votes2
answers8681
viewsHow to add and remove required input with jQuery?
I have a select with two option, when I select the first option I want him to show me a input field with the required attribute and when I select the second option I want him to do the same, only by…
-
2
votes2
answers1663
viewsProblems with Font Awesome
Hello I’m having trouble with the Font Awesome, I am creating a page that I want to use the icons, I started linking the Font Awesome url, it shows the icons, then includes 2 more CSS files,…
-
2
votes1
answer5727
viewsHow to return today input type date?
I’m trying to fill in an input field with type="date" with the date of the day the form is being completed. I tried the following code in PHP: function getDatetimeNow() { $tz_object = new…
-
2
votes1
answer1773
viewsHow do I place social media links to share a post link?
I have a question. I don’t know much about ASP.Net, but a friend of mine asked for help to implement some social networking buttons on his TCC site. His TCC is a news portal, like any other. He…
-
2
votes2
answers3898
viewsHow to make a date field containing only Month and Year Html
I need a date field containing only Month and Year Html preference that enables on the screen something like a calendar containing only months and years. Obs: I’m using Angularjs, javascript…
-
2
votes2
answers3819
viewsHow to create "Banner" with css?
I’d like to produce a Banner similar to the photo using css. I tried using characters UTF-8 and the result was almost perfect, but I would like to do with css to avoid some problems of…
-
2
votes1
answer90
viewsMask a div with css
On a site that I am developing the top (where the menus are) has a transparent background and is fixed. That is, the site runs behind this top and the top is always fixed. But as it is…
-
2
votes3
answers3219
viewsHow to align image next to image
I’m trying to put one image next to another, but: I want you to stand next to the gray image, like this: html: <div class="ads01"> <img src="img/160x600.png"/> </div> Css: #ads01{…
-
2
votes1
answer592
viewsSelect component disabled and selected angular value
I have the following situation I have a municipality select component <div class="form-group col-md-4"> <label>Entidade:</label> <select ng-model="distrito.entidade.idEntidade"…
-
2
votes2
answers2803
viewsWhat is the most appropriate content to put in the header or Nav?
I’m creating a page that has her logo and name on header, and a menu with links to other pages using lists on nav, but I’m not putting nav within the header, I put them all inside a div with a class…
-
2
votes1
answer48
viewsnullifying function action if result is false
I have the following function: if the input is Nan, it focuses on the field and changes the border function validaNumero(){ dado = document.getElementById("new_partner"); var formulario =…
-
2
votes1
answer58
viewsIs it possible to get the value of a div?
If in the div valor0 have a value, have I get this value in a variable to sum it for example?? In this example we have the div valor0 with value 1, I can send it to test variable? var teste =…
-
2
votes1
answer242
viewsCSS alignment Cell table
I have a <table> where the content of <td> are random numbers, I need the numbers to occupy 100% of the cell, however much I put the size 100%, with padding and margin zero, there’s…
-
2
votes1
answer37
viewsHow to join texts in a textbox by dragging them?
I have an empty textbox, and I have some buttons with values like: +, -, *, /, palavra1, palavra2 so on and so forth. I want to fill this textbox by dragging these buttons into it, not just by…
-
2
votes1
answer129
viewsClass selector in CSS
I’m having trouble referencing a <div>, which is in my index.html file, through my . css file. I have the following structure in my index.html file: <!-- Content --> <div…
-
2
votes2
answers866
viewsToggle - get true or false result
Follows the code: Model: public bool teste{ get; set; } View: <div class="checkbox"> @Html.CheckBoxFor(model => model.teste) </div> HTML result: <div class="checkbox"> <div…
-
2
votes3
answers1523
viewsHow to print Javascript variable value in HTML tag?
I’d like to limit the selection of input date this way, but it’s not working. <script type="text/javascript"> var data = new Date(); var dia = data.getDate(); var mes = data.getMonth(); var…
-
2
votes2
answers863
viewsSwap image by clicking it (JS, jquery)
I want to click on an image, and when I click on it, it will pull an api and I want the image to change to another one, only I can’t change the image. Note: the API is working, I just need to know…
-
2
votes0
answers65
viewsWhat’s wrong with my code? Insert a data and then insert no more!
html: <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Untitled Page</title> <meta name="generator" content="WYSIWYG Web Builder…
-
2
votes3
answers2758
viewsOpen google maps app via link via Ionic 3
I need to make a link that opens external google maps app on android and Ios (apple maps) that opens with marker in a certain coordinate. So far, the research found something similar to the…
-
2
votes0
answers43
viewsTabs inside modal returning data
I am creating a page that displays the data that was registered and within this data I have the option to View, Edit, Terminate and Delete the record. In this case, the option to View, Edit and Quit…
-
2
votes1
answer642
viewsJquery Validate does not work with extension type - File Input
Follows the code: $(document).ready(function () { $("#myform").validate({ ignore: ":hidden", rules: { images: { required: true, extension: "jpg"}, messages: { images: Arquivo inválido} },…
-
2
votes2
answers416
viewsUpload files and data SERVLET
How do I receive files and other parameters in Servlet? Follow the sending code: <form action="myservlet" method="post" enctype="multipart/form-data"> <input type="text" name="mytext">…
-
2
votes2
answers1054
viewsJquery Validate with Jquery-Price-Format
How to make the field mandatory when the value is 0.00 using jquery validate ? Following example in image: As you can see in the image above, the person did not enter the value, when clicking the…
-
2
votes0
answers15
viewsUse of the tag Section in HTML5
Much is said about HTML5 semantics and their new tags, my doubt is, when should you use the tag <section> semantically correct? Is there any rule/criterion/scope for the use of the same?…
-
2
votes1
answer419
viewsPass $route as parameter to a Vue JS function
It is possible to pass $route as a parameter for a function? <v-btn color="info" v-on:click="getProximo('this.$route')"> Próximo </v-btn> I need to get a parameter that’s in $route, but…
-
2
votes1
answer1500
viewsHow to insert specific fonts into the CSS?
My client passed specific fonts to a website. These are in TTF format. I’m used to using Google fonts and there’s no fonts there. How can I use these fonts in my CSS or HTML?…
-
2
votes2
answers109
viewshow to change the page subtitle by choosing a select
Guys, it’s really simple, I have a form that can be used for various services. I need the page subtitle to change according to the choice (in a select) of the service. I’m using the following a bit…
-
2
votes1
answer6305
viewsCentralizing modal bootstrap
I have a modal bootstrap on my page HTML. When I open the modal in the computer browser, the modal appears as follows: But when simulating the screen of a smartphone, the modal behind my menu nav:…