Web

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:51 PM on 12/8/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

HTML web scraping

The process of extracting data from websites. It involves retrieving a webpage's content, which is usually written in HTML (HyperText Markup Language), and then parsing or analyzing that HTML structure to extract specific pieces of information, such as text, images, links, or other data.

2
New cards

Post

What is the HTTP method that is equivalent to Create?

3
New cards

Get

What is the HTTP method that is equivalent to Read?

4
New cards

Put

What is the HTTP method that is equivalent to Update?

5
New cards

Delete

What is the HTTP method that is equivalent to Delete?

6
New cards

Create

Read

Update

Delete

What does CRUD stand for?

7
New cards

The difference between the <p> and <pre> tags in HTML lies mainly in how they handle the formatting and display of text content.

The <p> tag defines a paragraph. It is used for regular blocks of text and browsers automatically add space (margin) before and after each <p> element. Inside a <p>, multiple spaces and line breaks are collapsed into a single space, so white space and newlines in the HTML code are ignored. To create a line break inside a <p>, you need to use the <br> tag. Paragraph text automatically wraps according to the width of its container.

In contrast, the <pre> tag defines preformatted text. Text inside a <pre> is displayed exactly as written in the HTML file, preserving all spaces and line breaks. Typically, <pre> text is displayed in a monospaced (fixed-width) font, like Courier. This tag is useful for displaying code snippets, ASCII art, or any text where the formatting including whitespaces and line breaks must be preserved precisely. Unlike <p>, the width of a <pre> element does not adapt by wrapping text but retains its original formatting.

To sum up:

  • Use <p> for normal paragraphs where the browser handles spacing and line breaks automatically.

  • Use <pre> when you want to preserve exact spacing and line breaks as written in the source, most commonly for code or fixed-format text.

This distinction also has semantic importance for accessibility, search engines, and styling, as <p> indicates a standard paragraph of text, while <pre> indicates preformatted content with a specific visual structure

What is the difference between <p></p> tags and <pre></pre> tags?

8
New cards

<!— —>

What do the tags look like in HTML to include a comment?

9
New cards

“_blank”

What needs to be added to the “target” attribute to have a hyperlink open in a new tab/window?

10
New cards

Title attribute

ex. title=”This link goes no where”

What attribute is used to display text when hovering the cursor over a hyperlink?

11
New cards

<a href=”mailto:address@gmail.com”>Email Me</a>

How does one create a hyperlink that opens their email app with the target email populated?

12
New cards

A favicon is the image in the website tab, to the left of the title.

What is a favicon?

13
New cards

In the html file, add a link element with the attributes rel=”icon” and type=”the type of file”

ex. <link rel=”icon” type=”image/jpg” href=”images/pic.jpg”>

How does one assign a favicon to a website using React?

14
New cards

Syntax: let randNum = Math.random();

It produces a random floating point number greater than or equal to zero & less than one.

What is the syntax of creating a random number in javascript & what does it produce exactly?

15
New cards

The float property

What property allows other elements to flow around it?

Explore top flashcards