OUT OF LUX discussion


1) URL: Uniform Resource Locator
2) Domain: www.example.com/homepage.html Where is the resource?
3) Path: www.example.com/homepage.html What kind of resource are you requesting?
4) URL generates a request over the internet. "Hey, example.com! Can you send me your homepage information?"
Okay, but what's the code that makes that request happen? Oh, sick! He's explaining it.
The protocol (a set of established rules that define how devices communicate with each other by specifying the format, structure, and method for sending and receiving data . . . a widely agreed upon set of rules that standardize communication between machines, more or less) is called HTTP.
GET /homepage.html HTTP/1.1
Host: www.example.com
Content-Type: text/html
Content-Language: en
It happens in less than a second when there is so much going on with the requests being sent? Woah?
Hosting a website:
1. Register a domain
2. Have a server listen for requests coming in to that domain
How would you do this?
3. Give the server files to respond with
a. Ex: homepage.html
It's an html file? How would you write that?
According to recent data, approximately 67% of the world population has access to the internet in 2023.
An example of something that would not be considered an internet crowdsourcing application is a traditional online survey conducted by a single company for its own market research purposes; because in this scenario, the data is collected from a controlled group, not from a diverse, open pool of contributors as is typical in crowdsourcing.
Crowdsourcing is the practice of obtaining information or input into a task or project by enlisting the services of a large number of people, either paid or unpaid, typically via the internet.
According to Statista, in 2014, approximately 35% of the world population had access to the internet.
OH MY GOD, GETTING STARTED ON ACTUAL HTML! SO EXCITING!
HTML stands for Hyper Text Markup Language.
HyperText is text displayed on a computer that has links to other hypertext documents, which are hyperlinks.
Markup language is just annotating text to define how it gets displayed.
<.!DOCTYPE html> just tells the browser which version of the html is being used.
<.html> just shows that everything between that and the closing <./html> bracket is the html for the page.
<.head> and <./head> tags show that important information about the page is displayed there, such as the title. It's called metadata.
Then you have the <.body> <./body> tags to show that everything else on the page goes here.
• Note #1: Tags can go inside other tags! (But when, and how do you know if it's okay?
• Note #2: Indenting shows the structure of the tags.
• Note #3: HTML documents are sometimes called "trees".
When coding, is there an indent option? Or do you add spaces, hit tab?
A tree like an actual tree but also a family tree, actually. The body and head tags are the HTML tag's children.
When do you know to add the <.!DOCTYPE html> tag? You always do, and usually there will be a number specifying the type.
<.title> <./title> is what the text on the tab says.
YOU CAN LEAVE COMMENTS IN CODE TO DEBUG AND EDIT AND FOR EASIER READABILITY THAT A BROWSER IGNORES! I DID NOT KNOW THAT. BIG CAPITAL LETTERS BECAUSE THAT KIND OF RELIEVES THE "WHAT IF I MAKE A MISTAKE AND NEVER FIND IT" STRESS! Even if that's still such a possibility . . . oh well!
Wait, oh my god, can I do this on Goodreads?
The answer is yes. You guys can't see what I just said. That's so funny.
Moving on. <.em > and <.strong> are just italics and bold. They also work here! <.p> is for paragraph, I'll need to look into why it changes the font here. Does this work?
It does not. <.hr> usually makes a line on the page, though.
<.mark> highlights text!
Okay, we're onto a href and img src! Easy, use those on Goodreads constantly. Heck yeahhhh babyyyyyy!! Src is source. I didn't know that. I literally, out loud, call it image "serk". I'm done. Cough. Href is Hypertext REFerence.
Why do you need an image address for images? An image address is necessary to access and display an image online because it acts like a unique web address that points directly to the location of that specific image file on a server, allowing web browsers to retrieve and show the image on a webpage or within other digital platforms; essentially, it's how you "tell" the internet where to find a particular image to view it.
Sometimes you'll have to specify pixels in the width and height adjustments, I guess? Weird.
Creative Commons? (https://upload.wikimedia.org/wikipedi...)
Side notes:
N/A