SLR 12 Flashcards
Web Technologies
What is HTML?
Hyper Text Markup Language
HTML elements are the building blocks of HTML webpages and are represented by <> tags
What HTML tags do you need to know?
<html>
<link></link>
<head>
<title>
<body>
<h*>
<img></img>
<div>
<a>
<form>
<input></input>
<p>
<li>
<ol>
<ul>
<script> </script></ul></ol></li></p></form></a></div></body></title></head></html>
What does the <head> tag do?
Acts as a container for metadata
Metadata - Data inside data
What does the <title> tag do?</title>
Defines the title of the document
What does the <body> tag do?
Defines the documents main text
What does the <h*> tag do?
Used to define headings in order of important and size
What does the <p> tag do?
Defines a paragraph
What does the <img></img> tag do?
Used to embed images as the the two attributes:
src - specifies the file path
alt - specifies alt text if the image can’t be displayed
What does the <a> tag do?</a>
Defines a hyperlink, which links pages together
What does the <ol> tag do?
Defines an ordered list
What does the <ul> tag do?
Defines an unordered list
What does the <li> tag do?
Used to give list items
How does a tag end?
With a </__> like this:
<h1> qwerty </h1>
What is CSS?
Cascading Style Sheets
Describes how HTML elements are displayed on screen, paper and other media
Displayed in <style> tags</style>
Why is CSS used internally and externally?
It’s used internally to change only one page
It can be used to externally to change the whole website, and keeping consistency