Questions tagged as 'html5'

2
answers

How to make a JavaScript mask for the type tel?

Well, I've created a form and a field for the user to fill in the phone. That is: field type="tel". What I want is a JavaScript code that, when the user inserts the phone, the code will automatically transform the phone to this format (xx) xxxx-...
asked by 28.04.2018 / 13:02
3
answers

How to center a text in the middle of the page?

I'm using bootstrap 3. I want to center a text as the example below. @import url('https://fonts.googleapis.com/css?family=Anton|Black+Han+Sans|Open+Sans+Condensed:300'); /* font-family: 'Black Han Sans', sans-serif; font-family: 'Anto...
asked by 19.04.2018 / 01:39
1
answer

How to Identify Screen Capture

How do I identify if a screenshot is taking place on the site. For example, when Netflix is watching a movie or series and trying to get a print, it causes the print result to go completely black. How can she identify the act of taking a p...
asked by 14.05.2018 / 15:53
2
answers

How do I activate a div with JavaScript?

I have the following problem I have a <div> hidden over the login field: <div id="MostraLegenda" class ="legenda" style ="display: none"> <p>Login do Usuario</p> </div> It has display: none , I...
asked by 13.12.2017 / 13:34
1
answer

How do you make an image and text appear when you click on an option?

I can not ask a question that asks:    A small library has only fiction and textbooks   (Mathematics, Portuguese, etc.). You are building the   library loans. On the first page of the system, you should   there is a select for the user to cho...
asked by 16.06.2017 / 01:24
4
answers

column-count in css breaking line at the beginning of column

I'm using column-count in CSS to turn a text into 3 columns, so far so good. The problem is that I get a text with this MySQL specification: Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br> <br> Nullam ullamcorper effic...
asked by 09.08.2017 / 16:35
2
answers

What is the most appropriate content to put in the header or the nav?

I'm creating a page that has the logo and its name in header , and a menu with links for other pages using lists in nav , but I'm not putting nav inside header , I put them all inside a div with a class...
asked by 03.10.2017 / 19:25
1
answer

Delete item from an Inioc array 2

I'm having a hard time understanding how the splice () method works. I need to delete items from an array, when I click on (x), eg: <ion-item *ngFor="let item of data"> <ion-grid> <ion-row> <ion-col width-50>...
asked by 25.04.2017 / 12:03
1
answer

What is the most effective way to develop a html5 or js code?

For example when I want to do an event on the button click I can do it in two ways: using the onclick attribute of html5 <button type='button' onclick='myFunction()' id='btn0'>O</button> or by js: $('#btn0').click(func...
asked by 11.01.2018 / 19:49
2
answers

I would like a layout so my aside is not joining with the footer

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Example1</title> <style ty...
asked by 05.07.2017 / 15:44