Questions tagged as 'html'

4
answers

How to save line breaks from a textarea to the database? [duplicate]

I have textarea and would like to save the line breaks made by the user in the database. For example , the user writes the following: "Lorem Ipsum. Is simply. Dummy text. Of the printing. And typesetting." But in the database, i...
asked by 06.01.2017 / 20:08
1
answer

Need for Server Side Award for Content javascript - AngularJs

Knowing that starting this year google crawler runs javascript , considering the indexing of a content that is displayed using AngularJs, is there still a need for a version of the same content rendered on the server side for SEO? Plus : Pr...
asked by 05.08.2014 / 14:11
1
answer

How to put captions (subtitles) in videos?

How can I add subtitles / subtitles to video tag: <video> <source src="video/video.mp4" type="video/mp4"> </video>     
asked by 09.04.2017 / 03:07
2
answers

Centralized Menu

I'm having a hard time aligning the text from my menu to the center, so I'm starting to learn how to develop websites. Website Image: Thecodelookslikethis:<center><h1>MeuSite</h1><divid="menu"> <ul>...
asked by 11.05.2016 / 15:16
3
answers

How to make a burger menu open from right to left?

I have a hamburguer menu that opens from left to right, however, I would like it to open up from the right to the left, how do I do this? Following is my code below: /* * Open the drawer when the menu ison is clicked. */ var m...
asked by 13.12.2016 / 12:37
1
answer

CSS reset is always the same?

Is the CSS Reset always the same, or are there other ones that while maintaining the same pattern have more specific characteristics? Is it all rule that CSS Reset are the same, ie if I create mine with what is already expected and increment wit...
asked by 16.08.2016 / 05:17
3
answers

Is it possible to apply sound effects in hover or click on css?

Can you give a sound effect when you hover over an object, text, etc.? I wanted to hover over an object with a 'hover' effect to give it a sound effect, any sound that I set, to apply that with Css? or just with JS? .menu{ display:flex;...
asked by 25.05.2018 / 17:56
1
answer

Is it possible to use Input Value as a CSS selector?

See the examples below. I'm trying to style my CSS through value that it has, but it's not working. I've assembled 3 examples, one so that if input has [value="red"] it should have a red border. But even if you type re...
asked by 10.12.2018 / 11:45
2
answers

Print the result of a for JS within a p

I'm doing a college job that consists of making a tabletop generator. It is working perfectly when I use console.log to show the result, but when I use .innerHTML = resultado to show on a <p> tag it only shows one l...
asked by 08.11.2018 / 23:30
2
answers

How to specify a CSS class for text that breaks line in an HTML element?

Most of the time I work with text within HTML elements, I use a CSS resource called line-height . Suppose the height of a specific element is 50px , so I put line-height with 50px also so that the text is centered....
asked by 20.02.2014 / 02:54