Category: Basic HTML

Write Your First Webpage in 30 Minutes (Even If You’ve Never Coded Before)

Close-up of hands typing on a laptop at a clean desk in soft natural light, with the screen content blurred and a closed notebook, small plant, and mug in the background.

Open your computer’s basic text editor right now—Notepad on Windows or TextEdit on Mac—and type these five lines exactly as shown:
“`
My First Page
Hello World!
“`
Save this file as “index.html” on your desktop, then double-click it. Congratulations—you just built your first webpage. No special software required, no complicated installations, just plain text that your browser instantly transforms into a functioning website.
HTML isn’t a programming language filled with complex logic and algorithms. Think of it as a labeling system where you simply tell your …

Ways to Clean Up HTML Coding

A clean HTML code is tantamount to any website’s success. It makes the website more search engine-friendly, reduces page size for faster loading, and increases user and developer accessibility.
In creating or cleaning up HTML codes, it is best to start by removing non-compliant coding and codes that are excessive to the page. Also, transfer presentation HTML coding to the stylesheet. Consequently, this will result to clean HTML codes that are standard compliant.
When cleaning up HTML codes, you should note important head tags. If coding in XHTML, the tag end will have to be altered appropriately.
1. Title …

The Cost of Coding with Non-compliant HTML Code

Non-compliant HTML Codes are codes that do not follow the standards of HTML coding. These standards are defined by HTML 4.01 specifications, which follow part of the XHTML specifications. They are usually considered unclean codes.
What Happens When You Use a Non-Compliant HTML Code?

HTML codes that are non-compliant can cause your computer, or specifically your browser, to crash. You may find Internet Explorer running the website fine, but not everyone is using IE, especially in this generation.
Fixing pages with bloated and/or non-compliant HTML codes takes a lot of time. This can an issue …

Stylesheets: Which Type to Use and When Should One Use It?

In coding webpages with HTML, you will learn how to styles different variations like headings, page layout, and some special page sections. This process of styling in HTML is called webpage formatting. It involves using a stylesheet, popularly known as CSS (Cascading Style Sheets).
Types of Stylesheets
There are stylesheet types available for use when formatting a webpage or a blog theme. They include internal, external, and inline styling.
1. Internal Stylesheet
This style is added to the head section of the page. The styles applied in an internal stylesheet are applied …