HTML & CSS

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 »

1 Minute HTML CSS Part 6 – Code Snippets & Symbols

CODE RELATED TAGS <code>var a = “hello”;</code> <pre>var b = “world”;</pre> <samp>hello world</samp> <code> A block of code. Extra white spaces and line breaks will be ignored. <pre> Preformatted text. Extra white spaces and line breaks will be retained. <samp> Sample output.   HTML SYMBOLS HTML symbols are “special characters” in HTML. For example –

1 Minute HTML CSS Part 6 – Code Snippets & Symbols Read More »

4 Ways to Disable HTML Elements (Simple Examples)

Welcome to a tutorial on how to disable HTML elements. Things get complicated when it comes to disabling HTML elements. It can mean disabling a form, stopping videos, preventing copy-paste, preventing text highlighting, or removing clicks. There is no such thing as a “universal way to disable all HTML elements”. However, there are various techniques

4 Ways to Disable HTML Elements (Simple Examples) Read More »

1 Minute HTML CSS Part 5 – Text

HEADINGS <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6</h6> There are 6 “levels” of heading in HTML. <h1> Main heading, <h2> sub-heading, <h3> sub-sub heading, and so on…   PARAGRAPHS & SENTENCES <p>Paragraph</p> <span>Span</span> <br> <hr> <p> A paragraph. <span> A generic span of text. <br> Line break. <hr> Horizontal rule.

1 Minute HTML CSS Part 5 – Text Read More »