IS 201 Web Development Final Exam

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/52

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

53 Terms

1
New cards

The attribute ALWAYS has a colon after it, and the value ALWAYS has a semicolon after it

ex) font-family: Arial, Helvetica, sans-serif;

attribute: font family

value = Arial, Helvetica, sans-serif;

In CSS, how can you tell if something is a value/attribute vased on formatting?

2
New cards

All the code in between style tags will be CDD code

What do style tags indicate?

3
New cards

Cascading Style Sheets --> it is used for styling and laying out web pages (Cascade refers to how the styles are defined in CSS are applied to elements in the web page)

What does CSS stand for?

4
New cards

Sans-sarif

What kind of font is stated as preferred in web development using CSS?

5
New cards

15px

What font size do we use in this class?

6
New cards

It is used to define the style for many HTML pages

To use it, you need to add a link in the section of each HTML page

(common error hrf)

What is an external style sheet used for? How do you use it?

7
New cards

BLOCK ELEMENT (an element that forces something that follows to be on the next line

    - order list (number list)

    - unorder list (bullet points)

  • - every time you add a part of your list, you indicate with this
  • - to make it a paragraph, put space down and below to be visually separated from other things on the page.

    are examples of block elements

    vs inline elements that do not (like ) refer to an "anchor" that links to other web pages.

    Any element that forces a line break is a called a

    <p>Any element that forces a line break is a called a</p>
    8
    New cards

    A set of 3 styling attributes:

    Border, Padding (the edge of the content and the content itself), Margin (the space between two pieces of content)

    that can affect the space taken up by a single element

    What is the box model?

    9
    New cards

    HTML: Highlight the code and then hit Command slash

    CSS: Comment out code by starting the line with / then ending it with /. (you can use the command slash method for this too, may as well do it for both, but remember that they are formatted differently

    How do you comment out code in HTML vs CSS?

    10
    New cards

    is a block element -> structure containing a group on a webpage, used to organize elements, making applying styles easier.

    - This means it applies to your HTML code and your style code.

    is an inline element

    and ?

    <p> and <span>?</span></p>
    11
    New cards

    1. Syntax error

    2. Missing closing tag (

    without )

    3. Incorrect Attribute Usage

    If given a line of code, what are some potential reasons why it might not work?

    12
    New cards

    Description

    tag is used to put a picture on a webpage, you tell the computer where to find the picture by writing the name of the picture after scr= and you can describe the image for people who can't see it using alt

    Write the code to make an image on a website

    Image Name: image.jpeg

    Description: "description"

    In order to style it we use class= to designed a name

    <p>Write the code to make an image on a website</p><p>Image Name: image.jpeg</p><p>Description: "description"</p><p>In order to style it we use class= to designed a name</p>
    13
    New cards

    Change sc to scr

    What could you do to fix this line of code?

    music notes

    14
    New cards

    Write code to make a link on another page

    15
    New cards

    contains metadata and links to external resources, brain (what is going behind the website we can't see it but is important)

    contains images, texts, and other visible content on the webpage (the actual code)

    Explain the difference between and tags, what does them in HTML?

    16
    New cards

    Write code to link a stylesheet to a website

    17
    New cards

    ....

    How do you apply a style to a div?

    18
    New cards

    Size and importance of heading decreases from h1 to h3

    What are the difference between header levels h1, h2, h3?

    <p>What are the difference between header levels h1, h2, h3?</p>
    19
    New cards

    White space is the space between elements

    When using
    break tags it will create a space between that line and the next one, have to start and end with "
    " in order to work.

    Explain white space in HTML

    <p>Explain white space in HTML</p>
    20
    New cards

    This creates a link to a specific page

    On page anchors are like shortcuts that take you to a specific part of a webpage when you click them

    Back to Top

    Write code that creates an anchor that takes you back to the top of the page

    21
    New cards

    Absolute Positioning = Allows you to literally place any page element exactly where you want it using positioning attributes top, left, bottom, and right to set the location

    Fixed: The element is positioned relative to the browser window itself --> this doesn't change when the window is scrolled so it stays on the same part of the screen no matter if you scroll

    What is the difference between absolute and fixed positioning?

    22
    New cards

    You don't need a closing tag if the element doesn't wrap around any content or if it's self-contained

    Ex)

    doesnt need closing tag

    but

    does need a closing tag because there is content being wrapped within this element

    When do you not need a closing tag < element?

    23
    New cards

    Bootstrap is a front-end framework for faster and easier web development --> it is like a toolbox full of pre-made tools that you can use to build a webpage paster and easier

    What is the point of Bootstrap in this class?

    24
    New cards

    An anchor creates a link to a specific point on the same page

    You can use it to make a table of contents that takes you to different sections of the same webpage

    What is an "on page" anchor?

    25
    New cards

    HTML COMMENT:

    CSS COMMENT: / CSS COMMENT /

    How do you create HTML comments? How do you create CSS comments?

    26
    New cards

    Ordered Lists have numbers/letters

      Unordered lists have bullets

        *Remember that

      • have to be used within
          and
      • What is the difference between ordered lists and unordered lists?

        27
        New cards

        This can be used using the "text-align" properly with values such as 'left', 'right', and 'center' accordingly

        Ex)

        How do you align text left, right, and center?

        28
        New cards

        ...

        How do you apply style definitions, ex) change font family, color, bold, font size?

        29
        New cards

        How do you code a custom style definition vs an existing style?

        30
        New cards

        You use

        How about I wanna show another web page in my same web page, like a magi window?

        <p>How about I wanna show another web page in my same web page, like a magi window?</p>
        31
        New cards

        title

        The

        Browser tab or window title bar

        Search engine results pages (SERPs)

        Bookmarks and favorites lists

        Social media sharing previews

        <p>The <title> tag defines the title of the HTML document. This title is not displayed on the page itself but appears in several key places:</p><p>Browser tab or window title bar</p><p>Search engine results pages (SERPs)</p><p>Bookmarks and favorites lists</p><p>Social media sharing previews</title></p>
        32
        New cards

        link

        The way you link a CSS file to an HTML file in your

        <p>The way you link a CSS file to an HTML file in your </p>
        33
        New cards

        class

        The way you apply CSS specifications to HTML elements.

        <p>The way you apply CSS specifications to HTML elements.</p>
        34
        New cards

        What are positions in CSS: 9(Pt.1)

        Fixed- allows an element to remain in a specific location on the screen, regardless of scrolling. This positioning method is particularly useful for creating persistent user interface elements that stay visible as users navigate through a webpage.

        <p>Fixed- allows an element to remain in a specific location on the screen, regardless of scrolling. This positioning method is particularly useful for creating persistent user interface elements that stay visible as users navigate through a webpage.</p>
        35
        New cards

        Positions in CSS (Pt. 2)

        Absolute- Absolute position of something on a page. Allows you to precisely position elements on a web page, independent of the normal document flow.

        <p>Absolute- Absolute position of something on a page. Allows you to precisely position elements on a web page, independent of the normal document flow.</p>
        36
        New cards

        Positions in CSS (Pt.3)

        Relative- The relative positioning of something on a page. Allows you to adjust an element's position relative to its normal position in the document flow. This positioning method provides a way to make fine-tuned adjustments to an element's layout without drastically altering the overall structure of the page.

        <p>Relative- The relative positioning of something on a page. Allows you to adjust an element's position relative to its normal position in the document flow. This positioning method provides a way to make fine-tuned adjustments to an element's layout without drastically altering the overall structure of the page.</p>
        37
        New cards

        z-index

        Depth and order in which we see things. Higher the z-index is closer. Lower z-index is farther. controls the stacking order of elements on a web page. It determines which elements appear on top of others when they overlap

        <p>Depth and order in which we see things. Higher the z-index is closer. Lower z-index is farther. controls the stacking order of elements on a web page. It determines which elements appear on top of others when they overlap</p>
        38
        New cards

        text-align

        Used to center or left or right align or justify the text.

        <p>Used to center or left or right align or justify the text.</p>
        39
        New cards

        font-style

        Used to italicize text

        <p>Used to italicize text</p>
        40
        New cards

        color

        Determines color of text. NOT BACKGROUND

        <p>Determines color of text. NOT BACKGROUND</p>
        41
        New cards

        font-weight

        Used to bold text

        <p>Used to bold text</p>
        42
        New cards

        font-family

        Determines text font

        <p>Determines text font</p>
        43
        New cards

        Bootstrap

        A set of professionally developed coded themes that are very clean and organized. They can then be used and edited for personal use.

        44
        New cards

        On-page Anchors

        Elements to stay on the same page. Jump to the top.

        <p>Elements to stay on the same page. Jump to the top.</p>
        45
        New cards

        Block vs Inline

        Block element- blocks out the entire horizontal space, nothing can got next to it. Headers or p tags.

        Inline elements- Allows other content to be place inline with content. 3 images placed next to each other or plain text.

        46
        New cards

        CSS

        Acronym- Cascading style sheets

        Purpose- Helps avoid redundancy and achieve uniqueness for the website. Create styles in one plan and apply/cascade them to multiple html pages. Single source of truth

        47
        New cards

        Custom Styles

        The use of CSS (Cascading Style Sheets) to define specific visual and layout properties for HTML elements. Custom styles allow web developers to personalize the appearance of web pages beyond the default browser styles.

        48
        New cards

        Comments

        non-executable lines of code used to provide explanations, notes, or temporary disable code. They are ignored by browsers and do not affect the rendering of the web page. Comments are essential for code organization, documentation, and collaboration among developers.

        49
        New cards

        Types of comments (html)

        "

        <p>"<!--comment→"--></p>
        50
        New cards

        Types of comments (css)

        /comment/

        <p>/comment/</p>
        51
        New cards

        Box Model

        Content surrounded by padding surrounded by border surrounded by margin

        <p>Content surrounded by padding surrounded by border surrounded by margin</p>
        52
        New cards

        Directory navigation

        creating links that allow users to move between different pages or files within a website's directory structure. This is typically achieved through the use of navigation bars or menus.

        <p>creating links that allow users to move between different pages or files within a website's directory structure. This is typically achieved through the use of navigation bars or menus.</p>
        53
        New cards

        Id vs class

        1. Id can appear one time on the web page.

        2. Class you can put it wherever you want.