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.

Remove CSS class from element with JavaScript (no jQuery)

Could anyone let me know how to remove a class on an element using JavaScript only? Please do not give …

javascript html css
How to embed an autoplaying YouTube video in an iframe?

I am trying to embed the new iframe version of a YouTube video and get it to auto play. As …

javascript html iframe youtube youtube-api
Click button copy to clipboard using jQuery

How do I copy the text inside a div to the clipboard? I have a div and need to add …

jquery html css
How to Right-align flex item?

Is there a more flexbox-ish way to right-align "Contact" than to use position: absolute? http://jsfiddle.net/vqDK9/

html css flexbox
Parse error: Syntax error, unexpected end of file in my PHP code

I got an error: Parse error: syntax error, unexpected end of file in the line With this code: <html&…

php html parse-error
How to get the selected radio button’s value?

I’m having some strange problem with my JS program. I had this working properly but for some reason it’…

javascript html for-loop radio-button
Remove padding from columns in Bootstrap 3

Problem: Remove padding/margin to the right and left of col-md-* in Bootstrap 3. HTML code: <div class="col-md-12"> &…

css twitter-bootstrap html
Word-wrap in an HTML table

I've been using word-wrap: break-word to wrap text in divs and spans. However, it doesn't seem to work in table …

html css html-table
Set selected option of select box

I want to set a option that was selected previously to be displayed on page load. I tried it with …

jquery html jquery-selectors html-select
CSS Display an Image Resized and Cropped

I want to show an image from an URL with a certain width and height even if it has a …

html css background-image image