Web Design Overview

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

1/51

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:58 PM on 5/20/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

52 Terms

1
New cards

Steps to Viewing a Website

I. Url

II. Request

III. Response

IV. Rendering Webpage

2
New cards

Path of Url: www.twitter.com/codehs

/codehs

3
New cards

Domain of Url: www.twitter.com/codehs

www.twitter.com

4
New cards

What machine listens for HTTP request to the website domain?

server

5
New cards

Internet Complications

  • Access to copyright material

  • Anonymity (I.e. cyberbullying or pro: equality on the internet)

  • Censorship

6
New cards

Access to copyright material

allow ppl to share content

7
New cards

Anonymity (pro and con)

Con: cyberbullying

Pro: equality on the internet

8
New cards

Censorship

Should a government filtering content from its citizens

Should Google display explicit content?

9
New cards

IP(Internet protocol) addresses

info sent to and from unique address (I.e. 2.1.3.6 or 122.80.32.200)

10
New cards

Protocol

internet lays these rules that connect devices that can communicate (no matter in the type)

11
New cards

Complext Ntwork A

A bunch of device connected to a switch, a simple network, then all tied together to a larger connection, a router

12
New cards

The internet

multiple routers connected together then connected to simple networks

13
New cards

Domain of url

specifices where browser’s requte should be sent

14
New cards

Path of url

specifices what file is being requested

15
New cards

basic structure of HTML

<!DOCTYPE HTML>

<html>

<head>

<title>My First Web Page</title>

</head>

<body>

<h1>My favorite band is The Beatles</h1>

</body>

</html>

16
New cards

Ways to format text in HTML

<p></p>

<hr>

<br>

17
New cards

Different Header types

<h1></h1>
<h2></h2>

<h3></h3>

<h4></h4>

<h5></h5>

<h6></h6>

18
New cards

HTML LINKS

<a href=”link”>Text</a>

19
New cards

HTML IMAGES

<img src=”link” height=”” width=””>

20
New cards

Links in images

<a href=””><img src=””></a>

21
New cards

<img> alt attribute

this is an alternative name information for the image <img src=”” alt=””>

22
New cards

citing artistic work

<p>

Source: Name. TItle of work.Year (https://www.linkofimage.jpg)

</p>

23
New cards

HTML Order list (1, 2, 3, 4…)

<ol>

<li></li>

<li></li>

<li></li>

<li></li>

</ol>

24
New cards

HTML unordered list (a, I., *..)

<ul>

<li></li>

<li></li>

<li></li>

<li></li>

</ul>

25
New cards

HTML Table

<table>

<tr>

<th>title</th>

<th>title</th>

<th>title</th>

</tr>

<tr>

<td></td>

<td></td>

<td></td>

</tr>

<tr>

<td></td>

<td></td>

<td></td>

</tr>

</table>

26
New cards

internal CSS in html

<h2 style=”background-color: blue;”>text</h2>

27
New cards

Html text color

<h3 style=”pink”>text</h3>

<h3 style=”color:#408088;”>text</h3

<h3 style=” color: rgb(255, 128, 0);”>text</h3>

28
New cards

How many devices can view you website?

Any browser on any device can view your webpage

29
New cards

Class CSS

<ul>

<li class= scientific-name>Scientific Name: Urus thibetanus gedrosianus</li>

<li>Lives in: Iran and Pakistan</li>

<

.scientific-name{

font-style: italic;

}

30
New cards

Since id is the similar to class, what makes it so important?

an element/specific within a page

31
New cards

Casade

The Cascade determines which CSS rules will be applied when multiple rules for an item are contradictory.

32
New cards

What rules does Casade use to determine what element is important?

  1. Importance, Specificity, Order (ISO)

33
New cards

CSS Selector from highest precedence to lowest precedence

  1. Selected by ID

  2. Selected by class

  3. Selected by tags

<ol><li><p>Selected by ID</p></li><li><p>Selected by class</p></li><li><p>Selected by tags</p></li></ol><p></p>
34
New cards
p {
  color: green;  
}

.fire {
  color: red;
}

#title {
    color: blue;
}
<p class="fire" id="title">Hello World!</p>

blue

35
New cards
p {
  color: green;  
}

.fire {
  color: red;
}

#title {
    color: blue;
}
<p class="title">My First Paragraph</p>

green

36
New cards
p {
  color: green;  
}

.fire {
  color: red;
}

#title {
    color: blue;
}
<h1 class="fire">Welcome!</h1>

red

37
New cards

<img> tag with a height of 200px in CSS

img{
  height: 200px;
}

38
New cards
home.html
style.css

<head>
   <link rel="stylesheet" type="style/CSS" href="style.css">
</head>

39
New cards
index.html
home.html

<a href="index.html">Index</a>

40
New cards
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13360.077945500874!2d-121.8129364!3d36.2694284!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x808d8ffb4da45855%3A0x16a5d7c7f1b7e362!2sBig+Sur%2C+CA+93920!5e1!3m2!1sen!2sus!4v1500934629666"></iframe>

Put this in frame width of 90% and height 300px.

iframe{
   width: 90%;
   height: 300px;
}

41
New cards

Function of <div> tag

  • a block of code to format in CSS

  • grouping a collection of code

42
New cards

Span vs div

Span is the collection and inline of element, while div is a division of container of elements

43
New cards

Semantic Skeleton

<!DOCTYPE html>
<html>
	<head>
		<title>ōllamalitzli</title>
		<link rel="stylesheet" type="text/css" href="style.css">
	</head>

	<body>
		<header>
		    <h1>Aztec Ball Game: ōllamalitzli</h1>
		</header>
		
		<main>
		    <p>
		        <img alt="quetzalcoatl" src="https://codehs.com/uploads/2bf7654988f21ddd2ad9c26e37f9fc72">
		        Ancient Aztecs often played a special ball game.  You couldn't
		        use your hands - only your legs, hips, and forearms - to try to
		        get a 10 pound leather ball through a hoop.
		        
		    </p>
		</main>
		
		<figure>
    		<h2>Content</h2>
        		<p>This is an example for this lesson. You are encouraged to play around with it, run and change the code, and learn how it works. When you are done, click continue to go to the next problem.</p>
		</figure>
		
		<footer>
		    <h2>Source</h2>
		    <p>Cartwright, M. (2013, September 16). 
		    The Ball Game of Mesoamerica. World History Encyclopedia. 
		    Retrieved from https://www.worldhistory.org/article/604/the-ball-game-of-mesoamerica/
		    </p>
		    
		</footer>
	</body>
</html>

44
New cards

Combining Selector CSS

  1. Selecting descendants

  2. Selecting children

  3. Selecting next siblings

45
New cards
term image

Selecting descendants only affecting img within the <p> tag

46
New cards
term image

selecting children only affecting <a> within the <div> tag

47
New cards
term image

selecting the next sibling only affect the <h2> after the <h1>

48
New cards
Basic CSS: The CSS Box Model

What is closest to the content?

Padding

49
New cards
Basic CSS: The CSS Box Model

What which is furthest from the content?

Margin

50
New cards

Which of the following defines an animation increase-font that increases the font size from 5px to 20px?

@keyframs increase-font{
   to{font-size:5px;}
   from{font-size:20px;}
}

51
New cards

Which of the following applies an animation named grayscaleFilter over 10 seconds to every img tag?

img {
  animation: grayscaleFilter 10s;
}

52
New cards

What does the transition in CSS do for interactive elements?

Smooth over the interaction and animation from the original to the next animation.

Explore top notes

note
Ecce Romani ch. 1-12
Updated 1108d ago
0.0(0)
note
social security and ERISA
Updated 1217d ago
0.0(0)
note
DSAT
Updated 928d ago
0.0(0)
note
Arthritis Pain of the Elbow
Updated 1151d ago
0.0(0)
note
006 - Cell Membrane
Updated 855d ago
0.0(0)
note
Earth Science #1
Updated 1334d ago
0.0(0)
note
Economics Semester 2
Updated 1064d ago
0.0(0)
note
Ecce Romani ch. 1-12
Updated 1108d ago
0.0(0)
note
social security and ERISA
Updated 1217d ago
0.0(0)
note
DSAT
Updated 928d ago
0.0(0)
note
Arthritis Pain of the Elbow
Updated 1151d ago
0.0(0)
note
006 - Cell Membrane
Updated 855d ago
0.0(0)
note
Earth Science #1
Updated 1334d ago
0.0(0)
note
Economics Semester 2
Updated 1064d ago
0.0(0)

Explore top flashcards

flashcards
Periodic Table First 20
20
Updated 966d ago
0.0(0)
flashcards
APUSH Unit 5 Test
41
Updated 362d ago
0.0(0)
flashcards
Linked Review
34
Updated 943d ago
0.0(0)
flashcards
Histology practical exam
33
Updated 939d ago
0.0(0)
flashcards
Au restaurant
61
Updated 1271d ago
0.0(0)
flashcards
APUSH Period 9 vocabulary
56
Updated 1078d ago
0.0(0)
flashcards
Great expectations test 1
20
Updated 1126d ago
0.0(0)
flashcards
psych final study guide chap 5
91
Updated 850d ago
0.0(0)
flashcards
Periodic Table First 20
20
Updated 966d ago
0.0(0)
flashcards
APUSH Unit 5 Test
41
Updated 362d ago
0.0(0)
flashcards
Linked Review
34
Updated 943d ago
0.0(0)
flashcards
Histology practical exam
33
Updated 939d ago
0.0(0)
flashcards
Au restaurant
61
Updated 1271d ago
0.0(0)
flashcards
APUSH Period 9 vocabulary
56
Updated 1078d ago
0.0(0)
flashcards
Great expectations test 1
20
Updated 1126d ago
0.0(0)
flashcards
psych final study guide chap 5
91
Updated 850d ago
0.0(0)