∙ Chapter 56

HTML CSS

There are 3 ways to add CSS: inline, internal <style>, and external <link>. External is best for real sites.

MethodExampleBest for
Inlinestyle="..."Small demos only
Internal<style>...</style>Single page prototypes
External<link rel="stylesheet" href="style.css">Production websites