1/14
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
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.
Post
What is the HTTP method that is equivalent to Create?
Get
What is the HTTP method that is equivalent to Read?
Put
What is the HTTP method that is equivalent to Update?
Delete
What is the HTTP method that is equivalent to Delete?
Create
Read
Update
Delete
What does CRUD stand for?
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?
<!— —>
What do the tags look like in HTML to include a comment?
“_blank”
What needs to be added to the “target” attribute to have a hyperlink open in a new tab/window?
Title attribute
ex. title=”This link goes no where”
What attribute is used to display text when hovering the cursor over a hyperlink?
<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?
A favicon is the image in the website tab, to the left of the title.
What is a favicon?
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?
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?
The float property
What property allows other elements to flow around it?