Tips & Tutorials

1 Minute HTML CSS Part 11 – Lists

ORDERED & UNORDERED LISTS <ol> <li>ITEM 1</li> <li>ITEM 2</li> <li>ITEM 3</li> </ol> <ul> <li>ITEM 1</li> <li>ITEM 2</li> <li>ITEM 3</li> </ul> <ol> Ordered lists – Numbered. <ul> Unordered lists – Bullet points. <li> List items.   START COUNT & REVERSE <ol start=”999″ reversed> <li>ITEM 1</li> <li>ITEM 2</li> <li>ITEM 3</li> </ol> start Start from this number. reversed

1 Minute HTML CSS Part 11 – Lists Read More »

Responsive Accordion In HTML CSS (No Javascript)

Welcome to a tutorial on how to create a simple responsive accordion with HTML and CSS. Yes, you read that right, no Javascript is involved. To create an accordion using HTML and CSS only: Create a “stack” of checkbox, label, and container. <input id=”check” type=”checkbox”> <label for=”check”>Title</label> <div id=”content”>Content</div> Hide the checkbox and content by

Responsive Accordion In HTML CSS (No Javascript) Read More »

1 Minute HTML CSS Part 10 – Table Sections & Groups

TABLE SECTIONS <style> thead { background: red; } tbody { background: green; } tfoot { background: blue; } </style> <table> <thead> <tr><th>HEAD</th> <th>HEAD</th></tr> </thead> <tbody> <tr><td>CELL</td> <td>CELL</td></tr> </tbody> <tfoot> <tr><td>CELL</td> <td>CELL</td></tr> </tfoot> </table> <thead> Header section. <tbody> Body section. <tfoot> Footer section. These are more used for styling – Which we will cover in a

1 Minute HTML CSS Part 10 – Table Sections & Groups Read More »

1 Minute HTML CSS Part 8 – ID & Bookmarks

BOOKMARKS Bookmarks are pretty much “links within the same page”. Give the element an id. For example – <h1 id=”intro”>Introduction</h1>. Create an anchor tag as usual, and link to the element with #ID. For example – <a href=”#intro”>To introduction</a>.   ID NAME RULES Alphanumeric characters (A-Z a-z 0-9) accepted. Cannot start with a number, can

1 Minute HTML CSS Part 8 – ID & Bookmarks Read More »