Unit 2 Topic 7 Flashcards
What are websites used for?
Websites play an important role in modern life
Their use is to carry out many different tasks, such as online banking, shopping, education, and entertainment.
How are websites created?
Using a markup language called HTML
What does HTML stand for?
hypertext markup language
What is HTML do and what is it?
describes what text and other elements on the page (such as images and tables) should be included
Define markup language
a computer language that defines the structure and presentation of raw text.* In HTML, the computer can interpret raw text that is wrapped in HTML
Define raw data
raw data refers to unprocessed data that has not been organized, analyzed, or formatted. It’s the initial, raw form of information collected from various sources before any interpretation or processing is applied.
Raw data can be anything from numbers, text, images, or any other data type, and it often lacks context or structure, making it difficult to use directly. It typically needs to be cleaned, organized, or processed to extract meaningful insights or to be usable in applications.
Example of raw data:
A list of numbers like “35, 67, 89, 102” without labels or categories.
A collection of survey responses without being analyzed or summarized
Where are HTML documents sent from?
From the web server to a browser, and the browser displays the web page based on the content on the HTML document.
TRUE OR FALSE
Can there be some minor differences in the way different broswers display certain features?
Explain afterwards for your answer
TRUE BECAUSE Different browsers display web pages differently due to variations in their rendering engines (Blink, Gecko, WebKit), CSS interpretation, JavaScript engines, and support for web standards. Factors like operating system, user settings, and extensions also affect rendering. To ensure consistency, developers use cross-browser testing, CSS normalization, and feature detection.
What’s the purpose of HTML?
The purpose of HTML (HyperText Markup Language) is to structure and present content on the web. It defines the elements of a webpage, such as headings, paragraphs, links, images, and forms, allowing browsers to interpret and display content properly. HTML works alongside CSS (for styling) and JavaScript (for interactivity) to create complete web experiences.
What does the structure of an HTML define?
The structure of an HTML defines the way information about the web page is provided.
Doctype. All HTML documents should begin with a <!doctype> declaration. This tells the
browser what type of document to expect. The correct doctype declaration for HTML 5 is:
<!DOCTYPE html>
Define “define”
“define” means to determine, establish, or specify the nature or characteristics of something.
Definition of specify
To specify means to state or describe something clearly and in detail, often outlining exact requirements, characteristics, or features. It involves providing precise information to make something clear or definite.
What does CSS do?
Deals with formatting and layout of a web page.
What does CSS stand for?
Cascading Style Sheets
Can CSS and HTML be contained together or separately in a file?
CSS and HTML can be combined in the same file or kept separate. (While inline or internal CSS can be useful for small projects or quick styling, external CSS is the best practice for better organization, reusability, and easier maintenance.)
How to create an HTML file.
To create an HTML file, use a text editor, write the basic HTML structure, and save it with a .html extension. Then, open the file in a browser to view the webpage.
Define text editors.
Include examples of text editors.
A text editor is a software used to create and edit plain text files, including coding files like HTML, CSS, and JavaScript.
Examples of text editors are notepad, brackets,
Which text editor should you use first and why?
One suggest text editor would be **brackets.io **because it provides syntax highlighting and multiple open tabs.