How The Web Works (THM).3 Flashcards
What are the 2 major components that make up a website?
Front end
Back end
What is front end?
client-side
how a browser renders a website
What is back end?
Server-side
How servers process requests and respond
What are websites primarily created with?
HTML
CSS
Javascript
What is the purpose of HTML?
structure
What is the purpose of CSS?
styling
What is the purpose of Javascript (JS)?
Interactivity
What is HTML?
Hypertext Markup Language
What are websites written in?
HTML
What are the building blocks of HTML?
Elements/Tags
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Example Heading</h1>
<p>Example paragraph..</p>
</body>
</html>
What are the elements/tags of the above code snippet?
<!DOCTYPE html> Definition
<html> Root
<head>Page Info
<h1>Defines Heading
<p>Defines Paragraph
</p></h1></head></html>
What is a class attribute?
Attributes that change styling
What is a srs attribute?
Specifies location
What is an id attribute?
Identifies unique attribute to the tag/element
Where is Javascript added?
Website Source Code