Comprehensive Guide to HTML, CSS, and JavaScript Concepts

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

1/232

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.

233 Terms

1
New cards

HTML

HyperText Markup Language

2
New cards

What is HTML?

A markup language

3
New cards

What is used to view HTML documents?

Web browser

4
New cards

Is HTML case-sensitive?

No

5
New cards

tag

Wraps the entire HTML document

6
New cards

Container tag

7
New cards

Tag used to insert a line break


8
New cards

Tag used to display a horizontal rule


9
New cards

Tag defines bold text

Both and

10
New cards

Emphasizes text (usually italicized)

11
New cards

Tag used for underlined text

12
New cards

Change the background color of a page

13
New cards

Attribute aligns text in HTML

align

14
New cards

Tag used to create a hyperlink

15
New cards
16
New cards

Tag used to display an image

17
New cards

alt attribute in the tag

Provides alternative text

18
New cards

Tag defines a row in a table

19
New cards

in a table

Defines table header cell

20
New cards

Attribute defines the number of columns a cell should span

colspan

21
New cards

Tag used for an unordered list

    22
    New cards

      bullet type

    Circle

    23
    New cards

    Tag defines each list item

  • 24
    New cards

    Tag used to create an input field

    25
    New cards

    Creates a multi-line text field

    26
    New cards

    Tag defines a drop-down list

    27
    New cards

    Tag used to embed audio in HTML5

    28
    New cards

    Attribute allows an audio file to play automatically

    autoplay

    29
    New cards

    inside a

    Specifies alternate videos

    30
    New cards

    If a browser doesn't support the

    The content between the tags is shown

    31
    New cards

    The declaration defines the document type and version of HTML being used.

    32
    New cards

    HTML uses paired tags like

    ...

    to define paragraphs.

    33
    New cards

    bgcolor and text

    bgcolor and text are the correct HTML attributes for setting background and text color respectively (in older HTML versions).

    34
    New cards

    The alt attribute provides alternate text for images.

    35
    New cards

    href is the attribute used in anchor tags to specify the destination URL.

    36
    New cards

      Ordered lists use

        and
      1. tags.

      37
      New cards



      creates a horizontal line and has no role in form inputs.

      38
      New cards

      Using multiple tags ensures cross-browser compatibility by providing different video formats (e.g., .mp4, .webm).

      39
      New cards



      is an empty element in HTML and does not require a closing tag, though
      is acceptable in XHTML.

      40
      New cards

      CSS

      CSS (Cascading Style Sheets) is used for styling HTML elements.

      41
      New cards

      Internet

      The Internet is primarily composed of a collection of wide- and local-area networks.

      42
      New cards

      Internet Governance

      The Internet is primarily run by a collection of various organizations and entities, not a single government.

      43
      New cards

      Who primarily runs the Internet today?

      C. Private companies

      44
      New cards

      Why is it difficult to represent the Internet accurately?

      C. It is constantly changing with new networks added and removed

      45
      New cards

      What distinguishes the Internet from an Intranet?

      C. Internet is public and global; Intranet is private and limited to organizations

      46
      New cards

      What are the core components of the World Wide Web (WWW)?

      B. HTML, HTTP, Web Browsers

      47
      New cards

      What is the primary function of a web browser?

      C. Interface between client and server, requesting web documents

      48
      New cards

      What does "front-end" in web development typically refer to?

      C. User interface and design

      49
      New cards

      Which of the following is associated with back-end technologies?

      C. Databases and server logic

      50
      New cards

      What is a key reason to avoid busy or loud backgrounds in web design?

      C. They make text hard to read

      51
      New cards

      What should be prioritized over flashy web design?

      B. Usability

      52
      New cards

      How many seconds should a web page take to load on dial-up for optimal user experience?

      C. 8 seconds

      53
      New cards

      Why is consistency important in web design?

      C. It provides a cohesive and familiar user experience

      54
      New cards

      What can be varied slightly to indicate different sections without losing consistency?

      B. Color schemes

      55
      New cards

      What should a website prioritize when displaying information?

      C. Accessibility and availability of content

      56
      New cards

      What contributes to a website's visual appeal?

      C. Quality graphics and consistency

      57
      New cards

      What font type is most readable on screens?

      C. Sans serif

      58
      New cards

      Why should underlining be avoided in body text?

      C. It may confuse readers who assume it's a hyperlink

      59
      New cards

      What should be included when presenting a document longer than 10 paragraphs?

      C. Table of contents

      60
      New cards

      You're setting up a company network that should only be accessible by employees. Which type of network should you use?

      B. Intranet

      61
      New cards

      A user is confused why some websites look different on their browser compared to others. What's a likely reason?

      C. Not all browsers support the same HTML/CSS standards

      62
      New cards

      Browser compatibility

      Ensures your site works across different browsers.

      63
      New cards

      Usability

      Key in web design before aesthetic features.

      64
      New cards

      Simplicity in design

      Flashy elements can distract and frustrate users.

      65
      New cards

      Content layout and structure

      Good content layout improves readability and access to information.

      66
      New cards

      Consistency in design

      Creates a cohesive and user-friendly experience.

      67
      New cards

      Page load time

      Best practice recommends pages should load within 8 seconds for dial-up users.

      68
      New cards

      Table of contents

      Aids navigation and enhances user experience for long content.

      69
      New cards

      Sans-serif font

      Cleaner and more legible on screens.

      70
      New cards

      Used to embed audio in HTML5.

      71
      New cards

      src attribute

      Links to the actual audio file in the

      72
      New cards

      Used to embed video content in HTML5.

      73
      New cards

      Fallback content in

      Displayed if a browser does not support the

      74
      New cards

      tag

      Used to define video subtitles in HTML5.

      75
      New cards

      CSS

      Stands for Cascading Style Sheet.

      76
      New cards

      Selector in CSS rule

      Part that comes before the curly braces.

      77
      New cards

      Correct CSS rule definition

      p { color: red; }.

      78
      New cards

      CSS file extension

      The correct file extension for a CSS file is .css.

      79
      New cards

      Navigation clarity

      Making navigation clear and intuitive is a priority for user experience.

      80
      New cards

      Flashy backgrounds

      May distract from the content and affect usability.

      81
      New cards

      Long article formatting

      Including a table of contents with subheadings helps readers skim.

      82
      New cards

      Font choice for body text

      Sans-serif fonts are recommended for better screen readability.

      83
      New cards

      Design principle violation

      Using different layouts, colors, and fonts on every page violates consistency.

      84
      New cards

      User complaints about information

      Improving content layout can resolve issues with finding information.

      85
      New cards

      Animated backgrounds

      Should be avoided as they may distract users.

      86
      New cards

      ID selector

      The symbol used for an ID selector is #.

      87
      New cards

      Class selector

      The symbol used for a class selector is .

      88
      New cards

      Universal selector

      The selector that targets every element on the page is *.

      89
      New cards

      Grouping selectors

      To apply the same CSS style to multiple tags at once, group them with commas.

      90
      New cards

      Padding

      The space between the content and the border is called Padding.

      91
      New cards

      Float property

      The CSS property used to move elements left or right and allow text to wrap is float.

      92
      New cards

      Clear property

      The property used to ensure floated elements don't overlap the next element is clear.

      93
      New cards

      Width auto

      To set the width of an element to automatically fit the content or container, use width: auto;.

      94
      New cards

      Text color

      The property that changes the color of text in CSS is color.

      95
      New cards

      Hover pseudo-class

      The pseudo-class that changes a link's appearance when hovered over is a:hover.

      96
      New cards

      Text decoration

      The property that underlines text in CSS is text-decoration.

      97
      New cards

      Audio tag

      To allow users to listen to audio files directly from your page, use the

      98
      New cards

      Multiple source tags

      To ensure a video works across different browsers, use multiple tags with different formats.

      99
      New cards

      Group selector

      To give all

      and

      headings the same color efficiently, use a group selector like h1, h2 { color: yellow; }.

      100
      New cards

      ID selector for unique headline

      To style a unique headline only once on your page, use the ID selector (#headline).