Skip to content
07. Html An Introduction

icon picker
Answer in one line

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

Chapter: 07. Html An Introduction

Answer in One Line

How do clients and servers communicate in a network?
Clients send requests to servers, and servers respond immediately with the required data, communicating through networking protocols.
What is a web page?
A web page is a document that contains various forms of content such as text, graphics, videos, audio, and links to other pages, designed for display in a web browser.
Who created HTML?
HTML was created by Tim Berners-Lee in the early 1990s.
What is the main characteristic of HTML web page output across different systems?
The output of HTML web pages remains the same on any type of computer and on any operating system, ensuring consistent display.
List two examples of WYSIWYG editors.
Two examples of WYSIWYG editors are Adobe Dreamweaver and Google Web Designer.
What knowledge is required for a user to develop a web page effectively using a text editor?
To effectively develop a web page using a text editor, the user must have a proper knowledge of HTML commands.
What is the main difference between container tags and empty tags?
Container tags have both an opening and a closing tag to enclose content, whereas empty tags have only an opening tag and do not enclose any data.
How do HTML tags affect the display of text if they do not appear in the browser window?
HTML tags, though not visible themselves, enclose and define content, affecting how the text and non-text items within them are displayed by the browser.
Explain the LIFO principle as applied to nesting of tags.
The LIFO (Last In First Out) principle in nesting of tags means that the most recently opened tag must be the first one to be closed.
Where is an attribute always specified?
An attribute is always specified inside the opening tag of an HTML element.
What is the purpose of the <!DOCTYPE html> tag?
The <!DOCTYPE html> tag is a document type declaration that informs the web browser which version of HTML (specifically HTML5) the document is written in.
Which HTML tag contains information that is not directly visible on the web page?
The <head> tag contains information about the document that is primarily used by the browser and is not directly visible on the web page.
What information does the <html> tag convey to the web browser?
The <html> tag signals to the web browser that the content enclosed within it is a web page and should be viewed as such.
What happens if you skip the <title> tag in an HTML document?
If you skip the <title> tag, the web browser will typically display the file name and its path as the title of your web page.
What is the difference in display between <P> and <BR> tags?
The <P> tag defines a new paragraph and automatically inserts a blank line between paragraphs, while the <BR> tag forces a simple line break without starting a new paragraph or adding extra vertical space.
How can you edit an existing HTML document using Notepad?
To edit an existing HTML document, right-click on the file, select “Open with,” and then choose “Notepad” from the list of applications.
What is the primary function of CSS?
The primary function of CSS (Cascading Style Sheets) is to design and style a web page, describing how the HTML content will be presented visually on a web browser.
How do CSS style rules get applied to an HTML web page?
CSS style rules are interpreted by the web browser and then applied to the corresponding HTML elements within the web page.
What are the two parts that all CSS attributes consist of?
All CSS attributes consist of two parts: a property (the characteristic to be changed) and a value (the specific setting for that characteristic).
Describe how the ‘style’ attribute is used in an inline style sheet.
In an inline style sheet, the ‘style’ attribute, which is a global HTML attribute, is used directly within an HTML tag to contain specific CSS properties and their values for that single element, enclosed within double quotes.
When is an internal style sheet commonly used?
An internal style sheet is commonly used when a single web page has unique styling requirements that are not shared with other pages in a website.
How do you link an external stylesheet to an HTML document?
You link an external stylesheet to an HTML document by using the <link> element within the <head> section, specifying rel="stylesheet", type="text/css", and the path to the CSS file in the href attribute.
What is the purpose of the font-style property in CSS?
The font-style property in CSS is used to specify the stylistic presentation of a font, allowing text to be displayed as normal or italic.
What is the default font size for text in CSS?
The default font size for text when not otherwise specified in CSS is 16 pixels (16px).
What does the background-repeat property do?
The background-repeat property specifies how a background image will be repeated across an element’s background, such as repeat (both directions), repeat-x (horizontally), repeat-y (vertically), or no-repeat.
Name two text properties in CSS.
Two text properties in CSS are color (for text color) and text-align (for text alignment).
Name two font properties in CSS.
Two font properties in CSS are font-family (to specify the font face) and font-size (to specify the size of the text).
What is “margin” in the context of web page elements?
Margin is the space that appears around an element, creating distance between that element and adjacent elements on the web page.
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.