Explain Codes LogoExplain Codes Logo

Html

Wrap text in `` tag

html
responsive-design
table-layout
word-break

Wrapping text inside input type="text" element HTML/CSS

html
responsive-design
css
javascript

Word-wrap in an HTML table

html
responsive-design
word-wrap
css-tricks

Why is using onClick() in HTML a bad practice?

html
event-delegation
unobtrusive-javascript
accessibility

Why is translateY(-50%) needed to center an element which is at top: 50%?

html
responsive-design
css-positioning
centering-strategies

Why does my horizontal bar overflow the container when I set position: fixed?

html
responsive-design
css-properties
sticky-positioning

Why does forms with single input field submit upon pressing enter key in input

html
form-submission
client-side-scripting
ux-design

Why are my div margins overlapping and how can I fix it?

html
responsive-design
css-properties
debugging

Why are double quotes shown only for the first element?

html
css-properties
html-attributes
web-development

Which HTML5 reset CSS do you use and why?

html
css-reset
html5-boilerplate
normalize-css

Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"?

html
event-listeners
accessibility
progressive-enhancement

When creating HTML emails, should we use html, head, body tags?

html
email-design
web-standards
compatibility

When a child element overflows horizontally, why is the right padding of the parent ignored?

html
responsive-design
css-box-model
cross-browser-testing

What values for checked and selected are false?

html
boolean-attributes
html5-specification
checkbox-behavior

What values can the HTML5/XHTML role attribute have?

html
aria-roles
semantic-html
assistive-technologies

What's the difference if I put css file inside `` or ``?

html
responsive-design
performance
best-practices

What's the difference between meta name and meta property?

html
metadata
seo
rdfa

What's the difference between IFrame and Frame?

html
responsive-design
security
best-practices

What's data-reactid attribute in html?

html
custom-data-attributes
data-reactid
web-accessibility

What is the purpose of the HTML form tag?

html
responsive-design
semantic-html
form-validation