Top "Html" questions

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser.

How can I have two fixed width columns with one flexible column in the center?

I'm trying to set up a flexbox layout with three columns where the left and right columns have a fixed …

html css flexbox
How to make a div have a fixed size?

I made a site so when you click the button 30px it changes the font inside the div. I have …

css html fixed
Set value to currency in <input type="number" />

I am trying to format a number input by the user into currency using javascript. This works fine on <…

javascript jquery html currency-formatting
Can I apply the required attribute to <select> fields in HTML5?

How can I check if a user has selected something from a <select> field in HTML5? I see &…

javascript html select required
Using jQuery how to get click coordinates on the target element

I have the following event handler for my html element jQuery("#seek-bar").click(function(e){ var x = e.pageX - …

javascript jquery html css jquery-ui
Text overflow ellipsis on two lines

I know you can use a combination of CSS rules to make text end with ellipsis (...) when it's time to …

html css
Generating HTML email body in C#

Is there a better way to generate HTML email in C# (for sending via System.Net.Mail), than using a …

c# html email
Float a div right, without impacting on design

I want to float a div to the right at the top of my page. It contains a 50px square …

css html css-float
Darken CSS background image?

Should be a fairly simple question. In my website I do this: #landing-wrapper { display:table; width:100%; background:url('landingpagepic.jpg'); …

html css
How to get old Value with onchange() event in text box

I have a text Box and a Value poplulated in it when page loads. Now If user chanegs any thing …

javascript html validation