Phase 1 — Allowed
This file is the gauge for everything in phase1/. Do not use anything outside this list.
HTML tags allowed
Document structure
htmlheadtitlebodyheader
Content / controls
divh1,h2,h3,h4,h5,h6imginputbutton
Not allowed
- CSS (no
<style>, no external stylesheets, no inlinestyle) - JavaScript
- Any other HTML tags (
a,nav,ul,ol,p,form,label,span, etc.)
Attributes allowed (as needed)
- On
html:lang - On
img:src,alt,width,height - On
input:type,name,id,placeholder,value,min,checked,readonly - On
button:type
Rules from ./rules.html that apply here
| # | Rule | How we use it in Phase 1 |
|---|---|---|
| 5 | Know block vs inline | Observe default browser layout only (no CSS to change it) |
| 13 | Relative paths | Image URLs and opening sibling .html files from this folder |
| 15 | Meaningful alt |
Every meaningful img has descriptive alt |
| 16 | Don't write “image of” in alt |
Never start alt with “image of” / “picture of” |
| 17 | Keep alt concise |
Prefer under 125 characters |
| 18 | Decorative images use alt="" |
Only if an image adds no meaning |
| 19 | alt is primarily accessibility |
Write alt for people first |
| 32 | Always set lang on <html> |
Every page uses <html lang="en"> |
Rules from ./rules.html that do not apply yet
1–4, 6–12, 14 — these need CSS features Phase 1 does not allow (or root-relative paths).