+ 3

Which method is best for use Inline CSS,External CSS or Internel CSS

23rd Jul 2020, 6:39 AM
LOKESH CHAUHAN
LOKESH CHAUHAN - avatar
6 ответов
+ 6
There's no best method, each of these has their own use-cases. * Inline Good for styling one unique element, the applied style is unlikely to be reusable in other element or document, and thus no point storing it in embedded or external stylesheet. * External Perfect for separation of CSS from HTML code, also easiest to maintain. Save reusable styles in external stylesheets in order to follow DRY concept. * Embedded Good for styles applied for a single page, styles embedded in HTML document ideally be the styles that are unlikely to be reusable in other document.
23rd Jul 2020, 6:55 AM
Ipang
+ 3
Enternal: <link rel="stylesheet" href="link-to-css.css"> Internal: <style> /* Your Css Here */ </style> if You Want Your Code To Look Cool & Less, Use External CSS! Or, You Can Use Internal CSS...
5th Sep 2021, 1:04 PM
Sancho Godinho
Sancho Godinho - avatar
0
Css full form :- Cascading Style sheet 📜
5th Sep 2021, 12:44 PM
Shubham Bhatia
Shubham Bhatia - avatar
0
thanks🌹 🏜
6th Sep 2021, 3:37 AM
Shubham Bhatia
Shubham Bhatia - avatar
0
Internal :- 📜 <style> /* Your css here */ </style>
6th Sep 2021, 3:38 AM
Shubham Bhatia
Shubham Bhatia - avatar