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.

Html attributes for EditorFor() in ASP.NET MVC

Why can't I pass in html attributes to EditorFor()? eg; <%= Html.EditorFor(model => model.Control.PeriodType, new { disabled = "…

html asp.net-mvc editorfor
Shortest way to print current year in a website

I need to update a few hundred static HTML pages that have the copyright date hard coded in the footer. …

javascript html date
What's the difference between disabled="disabled" and readonly="readonly" for HTML form input fields?

I have read a bit on this, but I can't seem to find anything solid about how different browsers treat …

html cross-browser
Angular 4 img src is not found

I'm having a problem with sourcing an image with angular 4. It keeps telling me that the image is not found. …

html image angular src
How to style the parent element when hovering a child element?

I know that there does not exist a CSS parent selector, but is it possible to style a parenting element …

html css
How to make a <ul> display in a horizontal row

How can I make my list items appear horizontally in a row using CSS?

html css html-lists
How to impose maxlength on textArea in HTML using JavaScript

I would like to have some functionality by which if I write <textarea maxlength="50"></textarea> <…

javascript html textarea
Can an Option in a Select tag carry multiple values?

I got a select tag with some options in a HTML form: (the data will be collected and processed using …

html options
how to show alternate image if source image is not found? (onerror working in IE but not in mozilla)

I need to show an alternate image in cell of table if source image is not found. Currently below code …

javascript html image
How can I draw vertical text with CSS cross-browser?

I want to rotate a single word of text by 90 degrees, with cross-browser (>= IE6, >= Firefox 2, any version of …

html css cross-browser