HTML, CSS, AND JAVASCRIPT: WEB DEVELOPMENT BASICS FOR BEGINNERS GUIDE, Exams of Computer Science

HTML, CSS, AND JAVASCRIPT: WEB DEVELOPMENT BASICS FOR BEGINNERS GUIDE HTML, CSS, AND JAVASCRIPT: WEB DEVELOPMENT BASICS FOR BEGINNERS GUIDE

Typology: Exams

2025/2026

Available from 04/17/2026

christine-boyle
christine-boyle 🇺🇸

3.6

(7)

3.9K documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
HTML, CSS, AND JAVASCRIPT: WEB
DEVELOPMENT BASICS FOR
BEGINNERS GUIDE
HTML Title - Answer-Specifies the title of the web page, shown in the browser's title
bar.
HTML Body - Answer-Contains the content of the web page, such as text, images,
and links.
HTML Element - Answer-An HTML element is defined by a start tag, some content,
and an end tag.
Tags - Answer-Enclose content and define elements.
Example of Tag - Answer-<p> denotes a paragraph.
Attributes - Answer-Provide additional information about elements.
Example of Attribute - Answer-src in <img src="image.jpg"> specifies the image
source.
Relative Path - Answer-A relative path requires the image file to be in the same
location as the HTML file.
Absolute Path - Answer-An absolute path specifies the complete address to the file,
such as "C:\Users\haozhang\Downloads\image.jpg".
Values - Answer-Assign values to attributes.
Nested Tags - Answer-Tags can be nested, meaning one element can contain
another.
Opening and Closing Tags - Answer-These tags typically come in pairs: an opening
tag (<tag>) and a closing tag (</tag>).
Self-Closing Tags - Answer-Some HTML elements are self-closing, meaning they do
not have separate closing tags.
Common Self-Closing Tags - Answer-Common self-closing tags include <img>, <br>,
and <input>.
pf3
pf4
pf5

Partial preview of the text

Download HTML, CSS, AND JAVASCRIPT: WEB DEVELOPMENT BASICS FOR BEGINNERS GUIDE and more Exams Computer Science in PDF only on Docsity!

HTML, CSS, AND JAVASCRIPT: WEB

DEVELOPMENT BASICS FOR

BEGINNERS GUIDE

HTML Title - Answer -Specifies the title of the web page, shown in the browser's title bar. HTML Body - Answer -Contains the content of the web page, such as text, images, and links. HTML Element - Answer -An HTML element is defined by a start tag, some content, and an end tag. Tags - Answer -Enclose content and define elements. Example of Tag - Answer -

denotes a paragraph. Attributes - Answer -Provide additional information about elements. Example of Attribute - Answer -src in specifies the image source. Relative Path - Answer -A relative path requires the image file to be in the same location as the HTML file. Absolute Path - Answer -An absolute path specifies the complete address to the file, such as "C:\Users\haozhang\Downloads\image.jpg". Values - Answer -Assign values to attributes. Nested Tags - Answer -Tags can be nested, meaning one element can contain another. Opening and Closing Tags - Answer -These tags typically come in pairs: an opening tag () and a closing tag (). Self-Closing Tags - Answer -Some HTML elements are self-closing, meaning they do not have separate closing tags. Common Self-Closing Tags - Answer -Common self-closing tags include , , and .

Web Programming - **Answer** -Web programming is a fundamental aspect of modern software development. Core Technologies of the Web - **Answer** -The three core technologies of the web are HTML, CSS, and JavaScript. World Wide Web - **Answer** -The World Wide Web revolutionized how information is shared and accessed across the globe. Hypertext - **Answer** -Hypertext is a method of organizing information that allows text to contain links to other text. Hyperlinks - **Answer** -Links that connect to other documents or different sections of the same document. Advantages of Hypertext - **Answer** -Enables non-linear navigation, allowing users to jump from one document to another seamlessly. Uniform Resource Locators (URLs) - **Answer** -URLs are the addresses used to identify and locate resources on the Web. Structure of a URL - **Answer** -A URL consists of several components, each serving a specific purpose in identifying and locating the resource. URL - **Answer** -A URL consists of several components, each serving a specific purpose in identifying and locating the resource. Protocol - **Answer** -Specifies the protocol used to access the resource (e.g., HTTP, HTTPS, FTP). Domain - **Answer** -The domain name of the server hosting the resource. Path - **Answer** -The path to the specific resource on the server. Query - **Answer** -(Optional) Parameters passed to the resource. Fragment - **Answer** -(Optional) A specific part of the resource, such as an anchor within a web page. Markup Language - **Answer** -A markup language is a text-encoding system that specifies the structure and formatting of a document and potentially the relationship between its parts with annotations.

Font Properties - Answer -Font properties control the appearance of text within an HTML element. font-family - Answer -Specifies the font of an element, e.g., Arial, sans-serif. font-size - Answer -Defines the size of the font, e.g., 16px. font-weight - Answer -Specifies the weight of the font, e.g., bold. font-style - Answer -Specifies the style of the font, e.g., italic. Color Properties - Answer -Color properties determine the color of text, backgrounds, and borders. color - Answer -Specifies the color of text, e.g., blue. background-color - Answer -Specifies the background color of an element, e.g., #f0f0f0. border-color - Answer -Specifies the color of borders, e.g., hsl(120, 100%, 50%). Text Properties - Answer -Text properties control the spacing, alignment, and decoration of text. text-align - Answer -Aligns text horizontally within an element. text-decoration - Answer -Adds decoration to text, such as underline, overline, or line- through. line-height - Answer -Sets the height of a line of text. text-transform - Answer -Controls the capitalization of text. Spacing Properties - Answer -Spacing properties manage the space around and within elements. margin - Answer -Sets the outer space of an element. padding - Answer -Defines the inner space within an element. Applying CSS - Answer -CSS can be applied in three ways. External CSS - Answer -Linking to an external stylesheet using the tag, allowing for cleaner code and easier maintenance.

Internal CSS - Answer -A method of applying styles directly within an HTML document using the