Tips & Tutorials

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 »

1 Minute HTML CSS Part 7 – Links

ANCHOR TAG <a href=”https://code-boxx.com” target=”_self”> Code Boxx (same window). </a> <a href=”https://code-boxx.com” target=”_blank”> Code Boxx (new tab). </a> <a> Anchor tag. Used to create links. href Where to link to. target Where to open the link. _self Open in the same window. This is the default if target is omitted. _blank Open in another tab.

1 Minute HTML CSS Part 7 – Links Read More »