Questions tagged as 'html5'

1
answer

Write 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, 100); var img = document.createElement("img")...
asked by 29.01.2015 / 17:16
1
answer

Format @ Html.Label - MVC

In my page I have one: @Html.ActionLink(linkText: "Bem Vindo(a) " + User.Identity.GetUserName() + "!", actionName: "Index", controllerName: "RelatorioTagModels1") What it generates, the "Welcome" page below: ButIdonotwantittobealink,Iju...
asked by 19.02.2017 / 02:36
2
answers

How to leave the opacity of a dark image and appear the text of the figcaption in the hover?

Hello, I'm trying to make the image dark and the text appear when I hover over it. Can anyone help me? <div class="efeito"> <figure> <a href="#" target="_blank"><img src="comunica.jpg" ></a> &l...
asked by 27.10.2016 / 17:05
1
answer

Dynamic Search with JSON - PHP - MYSQL

I've been searching the internet but I could not find any references, perhaps because I was searching wrong, so I resorted to creating this post. I have a query in the database (MySql with PHP) that returns me a list of products with several...
asked by 08.12.2014 / 20:43
2
answers

Is it possible to build a pure HTML registration?

I need to create a registry 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 I could save the records to file and also upload them back to the form. The pag...
asked by 02.11.2014 / 16:31
1
answer

Period-based filtering on data type inputs

I have a system where I have a <input type="date"> and I need to filter it, to bring in the calendar only the dates of 3 months ago and the current month I was using the attributes min and max to test, since they ar...
asked by 09.01.2014 / 14:39
1
answer

I should still save files as .HTM or just as .HTML

Although the two are interpreted equally by Browser, it seems to me that the extension .HTM has fallen into disuse. Should I still save my files as .HTM or should I always opt for .HTML? It seems that in the early days the files were .html an...
asked by 08.02.2018 / 17:45
2
answers

How do I check if my application is open on mobile or web?

I need to make a style.css for mobile and another for web.     
asked by 28.08.2015 / 14:39
1
answer

Delete values from the list of options in html

I have one page and I display 4 options for each of the 4 alternatives. Each option is a value from 1 to 4. I would like every time the user selects a value, this value would be excluded from the options list of the other alternatives, forcin...
asked by 19.10.2016 / 06:35
2
answers

Structuring with html / div and css

I'm a beginner / enthusiast and I'm having trouble getting rid of the "table", I'm having trouble making this link below without leaving a fixed pixel value. Well,itwassolvedandthiswastheresult: *{ margin: 0; padding: 0; font-fa...
asked by 21.11.2016 / 01:00