The Box Model describes how every HTML element is treated as a rectangular box. It’s fundamental for layout and spacing in CSS., CSS Box Model, The actual text, image, or other content inside the element., Content, Space between content and border (transparent)., Padding, Space outside the border, separating elements., Margin, web design involves styling text for readability and aesthetics. It includes font selection, sizing, line spacing, and weight., CSS Typography, Sets the typeface., font-family, Sets the text size (px, em, rem, %, etc.)., font-size, Boldness of text., font-weight, Space between lines, line-height, Space between characters., letter-spacing, Align text horizontally, text-align, Uppercase, lowercase, capitalization., text-transform, is a modern CSS layout system that makes it easier to align and distribute space among items in a container, even if their size is unknown., CSS Flexbox, is a two-dimensional layout system in CSS that allows you to create complex, responsive web layouts easily. Unlike Flexbox (which is primarily one-dimensional), CSS Grid Layout, Turns an element into a grid container, display: grid, Defines number and size of columns, grid-template-columns, Defines number and size of rows, grid-template-rows, Controls spacing between items, gap / row-gap / column-gap, Lets items span multiple columns/rows, grid-column / grid-row, Aligns content inside grid cells, justify-items / align-items, Aligns the whole grid, justify-content / align-content, is an approach in web development where the layout, images, and other elements of a webpage automatically adjust and adapt to fit different screen sizes and devices—whether it’s a desktop, laptop, tablet, or mobile phone., Responsive Web Design (RWD), Use relative units like percentages (%), em, or fr instead of fixed units like px., Fluid Grid Layouts, Ensures that page elements scale proportionally when the screen size changes., Fluid Grid Layouts, Images and videos adjust their size relative to their container., Flexible Images and Media, - Prevents overflow issues on smaller screens., Flexible Images and Media, - CSS rules that apply styles based on screen size or device characteristics., Media Queries, - Typical breakpoints:, Media Queries, is a programming language mainly used to make websites interactive., JavaScript, Without it, websites are just like static posters (only text and images)., JavaScript, with it , websites can move, respond, and think., JavaScript, Where Does JavaScript Run?, Chrome, Firefox, Edge, Safari), is a programming interface that represents an HTML document as a tree of objects., Document Object Model (DOM), Read or replace HTML inside an element, .innerHTML, Read or replace only text (ignores HTML tags), .textContent, Change CSS dynamically, .style.property, Add a CSS class, .classList.add(), Remove a CSS class, .classList.remove(), Set or modify attributes, .setAttribute(), Delete an element, .remove()
0%
WEB DEV
共用
共用
由
Macrystalynmoli
JHS
編輯內容
存檔
喜歡
列印
嵌入
更多
需要登錄
視覺風格
顯示所有
字體
活動設定
排行榜
作業
需要訂閱
活動設定
排行榜
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
顯示更多
顯示更少
快閃記憶體卡
是一個開放式範本。它不會為排行榜生成分數。
作業
您尚未與學生分享任何活動
要開始收集結果,請轉到任何活動頁面,然後選擇
Set assignment(設置分配
)。
確認您的設置並與學生共用生成的連結。
課業分配
更像這樣
HTML :
由
Salwar
開箱遊戲
3
HTML & CSS
由
Missmanchand
匹配遊戲
16
HTML, CSS and JavaScript
由
Ezec029319
測驗
2
7 - COMPUTER - HTML 🏆
由
Binduteachermnp
匹配遊戲
3
CSS
由
Pagallamans94
拼字遊戲
3
HTML
由
Iylia3
測驗
6
Web design
由
Poidinsarereali
匹配遊戲
3
HTML & CSS
由
Ibtesam26
迷宮追逐
2
切換範本
顯示所有
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?