Curriculum
Course: HTML Basic
Login

Curriculum

HTML Basic

HTML Introduction

0/1

HTML Editors

0/1

HTML Attributes

0/1

HTML Paragraphs

0/1

HTML Formatting

0/1

HTML Comments

0/1

HTML Favicon

0/1

HTML Page Title

0/1

HTML Iframes

0/1

HTML Java Script

0/1

HTML File Paths

0/1

HTML Symbols

0/1
Text lesson

Spaces and Equal Signs

While HTML permits spaces around equal signs, it’s generally easier to read and organize code without them. Keeping attribute-value pairs space-less enhances readability and groups entities more effectively.

Good:

<link rel=”stylesheet” href=”styles.css”>

Bad:

<link rel = “stylesheet” href = “styles.css”>

Avoid Long Code Lines

When working with an HTML editor, it’s inconvenient to constantly scroll horizontally to read the HTML code.

To enhance readability and usability, it’s best to avoid excessively long lines of code.