Your complete visual guide to HTML โ meanings, symbols, code, alignment & real examples.
Built for beginners, explained in plain English.
alt to all images. Use aria-label for icon-only buttons. Use aria-hidden="true" to hide decorative elements from screen readers. Ensure color contrast is high and focus states are visible.',
code: `
Hot Deal!
<fieldset> and <legend> to group related inputs. <datalist> provides autocomplete suggestions for text inputs. <output> displays the result of a calculation. <progress> and <meter> show visual bars.',
code: ``,
output: ''
},
{
id: 'embeds', icon: '๐ฅ๏ธ', title: 'Iframes, Embeds & Objects', tag: 'W',
desc: 'Embed external content like YouTube videos, maps, PDFs, or legacy plugins into your page.',
meaning: '<iframe> embeds another HTML document. Always add a title for accessibility and restrict permissions using sandbox or allow. <embed> and <object> are older tags used for PDFs, SVGs, or Flash (legacy), but <iframe> is the modern standard for web content.',
code: `
`,
output: '<link> for external CSS. Use <script src="..."> for external JS. Add defer to scripts so they download in parallel and execute after HTML parsing. Use type="module" for modern ES6 JavaScript imports.',
code: `
`,
output: 'โ
CSS makes it beautiful. JS makes it interactive. defer prevents render-blocking!'
},
{
id: 'responsive', icon: '๐ฑ', title: 'Responsive Design & Viewport', tag: 'Y',
desc: 'Ensure your site looks perfect on phones, tablets, and ultrawide monitors.',
meaning: 'The <meta name="viewport"> tag is mandatory for mobile layouts. Combine it with CSS Media Queries (@media) to change layouts at specific breakpoints. Use relative units (rem, %, vw) instead of fixed pixels.',
code: `
`,
output: 'โ
Responsive design = one codebase that adapts to any screen size.Now go build something amazing. ๐
' }, { id: 'bonus1', icon: '๐๏ธ', title: 'Bonus: Web Components & Templates', tag: 'โญ', desc: 'Advanced HTML5 features for building reusable, encapsulated custom elements.', meaning: '<template> holds HTML that is parsed but not rendered until activated via JS. <slot> is used inside Shadow DOM to inject external content into a custom component. This is the foundation of frameworks like React/Vue, but built natively into the browser!',
code: `
<font>, <center>, <marquee>, <blink>, or <frame>. They mix presentation with structure and break accessibility. Always use CSS for styling and layout instead!',
code: `
Old Text
Modern Text
Centered text
`, output: '${codeHtml}