Questions tagged as 'html'

1
answer

Content with code points (entity) or unicode characters

At w3schools has the reference of all the characters - special, symbols, alphanumeric. I did not understand the purpose of having this representation of the characters. In the example below the output is the same, it only changes the entity....
asked by 22.06.2017 / 04:17
3
answers

Validate file extension

I have a code that checks the size before sending the file, I would like to know how to check the file extension along, for example, I need these extensions .jpg, png, .gif, .pdf, .txt, .doc, .docx . Would I have to do in the same code?...
asked by 24.08.2017 / 22:51
2
answers

Open local file from browser

Hello, What is the most correct way to open a local file (shared drive via network) through the browser? The file must be opened through a local application (desktop) previously installed on the PC. Example: Link to an excel file, when click...
asked by 21.05.2018 / 08:53
2
answers

Problems with Curl result and file_get_contents

I'm trying to get an image from a website to use imagecreatefrompng (), but the result was never what I expected ... Url: link in the case when I call as <img> works perfectly <img src="https://www.habbo.com.br/habbo-i...
asked by 18.01.2017 / 14:16
3
answers

How to pass value changed dynamically to function, in AngularJS

The itemCode, itemDescription, itemPreco, and itemQuantity fields are populated dynamically (at run time, without refresh ) from a query performed in the database. However, these values, when passed as a parameter to the addItem () function, re...
asked by 20.12.2016 / 13:25
1
answer

How does the Position property work? [duplicate]

I have read about the position property, but still can not understand its purpose. The absolute and relative values did not enter my head. I also wanted to know when I should use this property.     
asked by 22.12.2016 / 21:54
1
answer

Do I really need to have the src and ng-src attributes in the IMG tag? What is the function of each?

I saw here that we have the creation of tag <img> with the attributes src and ng-src . Do you really need to be like this? Even more than here the two attributes have the same value.     
asked by 20.12.2016 / 16:48
1
answer

How to put inside a variable only the text that was selected inside a textarea?

With var texto = document.getElementById('texto').value; I get everything that is in the tetxarea that has this id, but what if I want a partial text? For example the whole text is this: Germany bought the game against Brazil If...
asked by 10.05.2015 / 23:15
1
answer

Change color of selected item - select option

I have the following select . Is it possible to change its blue color to one that I want to apply, for example red?     
asked by 07.05.2015 / 19:39
2
answers

Why does not this menu work in the mobile version?

I was looking for menu templates / layouts and found that pretty cool, but when I passed google to the cell phone view when I clicked on the menu the 1st ball would come and go, instead of coming all of them and staying there until I clicked t...
asked by 05.05.2015 / 21:37