Comments: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Comments are important on HTML and CSS == HTML comments == <pre> <!-- This is a comment in HTML --> </pre> * [https://www.w3schools.com/html/html_comments.asp HTML comments] (up to 2 marks) WATCH THIS SPACE == CSS comments == →This is a comment in CSS: * [https://www.w3schools.com/css/css_comments.asp CSS comments] (up to 2 marks) WATCH THIS SPACE == Notes == For an example off CSS commenting, see RearViewMirror.css. You are fre...") |
(No difference)
|
Latest revision as of 12:14, 25 November 2023
Comments are important on HTML and CSS
HTML comments
<!-- This is a comment in HTML -->
- HTML comments (up to 2 marks)
CSS comments
/* This is a comment in CSS */
- CSS comments (up to 2 marks)
Notes
For an example off CSS commenting, see RearViewMirror.css. You are free to use the style sheet, unchanged, provided you correctly reference me in your HTML code
Main Page | Basic web design | Navigation | Ranking | Support | Asterix Home