Tips & Tutorials

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 »

1 Minute HTML CSS Part 4 – Basic Page Structure

A PROPER BASIC HTML PAGE <!DOCTYPE html> <html> <head> <title>Hello World!</title> <meta name=”description” content=”My first web page.”> <meta charset=”utf-8″> </head> <body> <h1>Hello World</h1> <p>It works!</p> </body> </html> <!DOCTYPE html> HTML document type definition. This is NOT AN HTML TAG, but a definition. <html> Marks the start and end of the HTML document. <head> Header section,

1 Minute HTML CSS Part 4 – Basic Page Structure Read More »

1 Minute HTML CSS Part 2 – HTML Tags

HTML TAGS <h1>Hello World</h1> <p>HTML is nothing but text with formatting.</p> HTML stands for Hyper Text Markup Language. It is nothing more than “plain text with formatting”. E.G. <h1> marks a heading, <p> marks a paragraph. HTML tags should be in small letters – <h1><p>. Capital letters work but do not conform to coding standards…

1 Minute HTML CSS Part 2 – HTML Tags Read More »