Skip to content
Long Answers

icon picker
Answer key

Prepared by: learnloophq@gmail.com
Last edited 10 days ago by Learn LoopHQ.

Chapter: 07. Html An Introduction

Attributes are properties that provide additional information about an HTML tag, thereby enhancing its functionality. They are always specified inside the opening tag. Each attribute consists of a name, which identifies the property to be set, and a value, which defines the specific setting for that property, allowing for customization.
The three ways to use CSS are Inline, Internal, and External style sheets. Inline styles apply unique styles directly to a single element using the style attribute. Internal style sheets involve placing CSS rules within a <style> tag in the HTML <head>, typically for a single page’s unique design. External style sheets are separate .css files linked to the HTML document, ideal for applying consistent styles across multiple pages.
An HTML document is a text file containing markup tags that tell the web browser how to display the page. It is fundamentally divided into two sections: the <head> and the <body>. The <head> contains metadata not directly visible to the user, while the <body> holds all the content that is displayed on the web page.
CSS (Cascading Style Sheets) is a design language that describes how an HTML web page will be presented visually, handling aspects like colors, fonts, layout, and spacing. Its main advantage is separating content (HTML) from presentation (CSS), which saves a lot of time as one CSS design can be applied to multiple web pages, ensuring consistent styling more efficiently than using deprecated HTML attributes.
WYSIWYG (“What You See Is What You Get”) editors provide a visual interface, allowing developers to see the live rendering of the web page as they design, often with graphical tools. Text editors, like Notepad, require manual coding of HTML commands, offering no visual preview during creation. While WYSIWYG simplifies design, text editors demand proper knowledge of HTML commands but offer more direct control over the code.
HTML5 is a platform-independent language, meaning web pages look consistent across different operating systems. It simplifies building tables and allows for easy addition of links between pages. Additionally, it is not case-sensitive, making it forgiving for beginners, and offers a flexible way to combine text with various design elements.
Tags are the fundamental building blocks of a web page, instructing the browser on how to display content. They typically begin with an opening angular bracket and end with a closing one, like <TagName>. Most tags come in pairs, with a closing tag identifiable by a forward slash before the tag name (e.g., </TagName>).
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.