1.3.4 Web Technologies

Cards (45)

  • What is HTML?
    HTML is the language for web pages.
  • How does HTML help browsers?
    It describes the structure and order of webpages.
  • What are the two main sections of a webpage?
    The body and the head.
  • What does the <head> section contain?
    The title of the webpage.
  • What does the <body> section contain?
    The content of the webpage.
  • What is the purpose of the <html> tag?
    It indicates HTML code.
  • What does the <body> tag define?
    The main content area of the webpage.
  • What is the function of the <link> tag?
    To link to additional files.
  • What does the <head> tag define?
    The browser tab or window heading area.
  • What does the <title> tag define?
    The text in the tab or window heading.
  • What are the heading styles in HTML?
    <h1>, <h2>, <h3>
  • What does the <p> tag do?
    • Defines a paragraph
    • Adds line space above and below
  • What is the <img> tag used for?
    To display images on a webpage.
  • What is unique about the <img> tag?
    It is a self-closing tag.
  • What parameters must be included with the <img> tag?
    src, height, width.
  • What does the <a> tag define?
    A hyperlink with a location parameter.
  • What is the structure of an anchor tag?
    <a href= location> link text </a>
  • What is the purpose of the <ol> tag?
    • Defines an ordered list
    • Uses <li> tags for list items
  • What is the purpose of the <ul> tag?
    • Defines an unordered list
    • Uses <li> tags for list items
  • What does the <div> tag do?
    Divides a page into separate areas.
  • What are classes and identifiers in HTML?
    • Attributes for styling elements
    • Classes can be reused; identifiers are unique
  • How are classes defined in CSS?
    Using a full stop.
  • How are identifiers defined in CSS?
    Using a hashtag.
  • What is CSS used for?
    To describe the style of a webpage.
  • What are the two forms of CSS?
    • Internal/embedded CSS
    • External CSS
  • Where is internal CSS placed?
    Inside the style tags in HTML.
  • What is the syntax for linking an external CSS file?
    <link href= “nameofstylesheet.css” rel= “stylesheet” type= “text/css”>
  • What does each section of CSS begin with?
    The name of the class/identifier or element.
  • What is JavaScript primarily used for?
    To add interactivity to websites.
  • How is JavaScript executed?
    It is interpreted rather than compiled.
  • What is one use of JavaScript?
    To validate input data on the client computer.
  • What are the advantages of using JavaScript?
    • Validates data before sending to servers
    • Reduces load on servers
    • Decreases web traffic
  • What does the search engine do?
    Searches through a database of internet addresses.
  • Why is the order of web resources important?
    It affects which websites users visit.
  • What do web crawlers do?
    Collect information to build an index.
  • What is the PageRank algorithm used for?
    To rank web pages in search results.
  • What factors determine the PageRank of a page?
    • Number of incoming links
    • Page rank of linking pages
  • What is the data structure used to display PageRank information?
    A directed graph.
  • What is the formula for PageRank?
    PageRank(x) = (1-d) + d[(PageRank(T1) ÷ Count(T1)) + … + (PageRank(Tn) ÷ Count(Tn)]
  • What is the damping factor in PageRank usually set to?
    0.85.