CS Final

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What is your computer's network address called? 1. LAN 2. IP 3. USB 4. HDMI

2. IP

Which of the following is not a kind of selector? A. ID selector B. Type selector C. Input selector D. Class selector

C. Input selector

What is the smallest header in the HTML? A) H1 B) H3 C) H5 D) H6

D) H6

What does HTML stand for?

Hypertext Markup Language

What numbers does range(10) generate?

Using rang(10) will generate a list from 0 to 9

What is the difference between an HTML unordered and ordered list? a) an unordered list is a bullet list; an ordered list is number or ordered by some sequence b) an unordered list is number or ordered by some sequence; and ordered list is a bullet list c) an unordered list creates a table; an ordered list creates a chart d) there is no difference

a) an unordered list is a bullet list; an ordered list is number or ordered by some sequence

What can a server respond with? a. Text files, HTML files, JSON files b. Image files, HTML files, JSON files c. Folder files, HTML files, JSON files d. Test files, HTML files, JSON files

a. Text files, HTML files, JSON files A server is a computer program that responds to requests from clients, typically over the internet. When a client (such as a web browser) makes a request to a server, the server can respond with a variety of different types of files, including text files, HTML files, and JSON files. Text files contain plain text and can be displayed by any text editor or web browser. HTML files contain hypertext markup language and are used to create the structure and content of web pages. JSON files contain data in JavaScript Object Notation format and are often used to transmit data between a server and a web application.

Which of the following options are not contained in the <table> element in HTML? a. A number of table cells b. A number of table rows that organize table cells c. Microsoft Excel table management tools d. All of the above are contained in the table element

c. Microsoft Excel table management tools

In python, using the input() command returns what type of value? a. Integer b. List c. String d. Dictionary

c. String In python, using the input() command returns a string value. This means that whatever the user types in response to the input() prompt will be interpreted as a string, even if it contains numbers. For example, if the user types the number 42 in response to an input() prompt, it will be stored as the string "42", not the integer 42. If you want to get a numerical value from the user, you will need to convert the string to a number using the appropriate type conversion function. For example, you can use the int() function to convert a string to an integer, or the float() function to convert a string to a floating-point number.

What does the document model object (DOM) do? a. The DOM uses angle brackets to identify HTML tags b. The DOM creates a link between two resources c. The DOM determines the structure of the content on the page d. The DOM links to portions of the local page

c. The DOM determines the structure of the content on the page Stands for document object model

What symbols do you use while adding style to your webpage? a. <> b. () c. {} d. []

c. {} The value of the style attribute is a set of style rules, enclosed in curly braces ({}).

A server cannot respond with which one of the following resources? a. HTML Files b. JSON Files c. Text Files d. .R Files

d. .R Files A server cannot respond with .R files. .R files are a type of script file used by the R programming language, which is typically used for statistical computing and data analysis.

How many kinds of tags are in HTML? a. 1 b. 2 c. 3 d. 4

d. 4 Think HTML, Head, Title, Body. HTML uses four types of tags: opening tags, closing tags, empty elements, and attribute tags. Opening and closing tags are used to mark the beginning and end of an HTML element, and are indicated by a less-than sign (<) and a greater-than sign (>), respectively. Empty elements are self-closing and do not require a closing tag. Attribute tags are used to add additional information to an HTML element.

Which of the following is NOT part of making a list in HTML? a. <ol></ol> b. <li></li> c. <ul></ul> d. <nl><nl>

d. <nl><nl> In HTML, there are two main types of lists: ordered lists and unordered lists. Ordered lists are created using the <ol> (ordered list) element, and each item in the list is defined using the <li> (list item) element. Unordered lists are created using the <ul> (unordered list) element, and each item in the list is again defined using the <li> element. The <nl> element does not exist in HTML, so it is not used for creating lists.

Which of the following is NOT part of a table in HTML? a. <table></table> b. <th></th> c. <tr></tr> d. <tc></tc>

d. <tc></tc> In HTML, tables are created using the <table> element. Within a <table> element, rows are defined using the <tr> (table row) element, and cells within a row are defined using the <td> (table cell) element. The <th> (table header) element is used to define cells that contain column or row labels. The <tc> element does not exist in HTML, so it is not part of a table.

The correct sequence of HTML tags for starting a webpage is a. Head, Title, HTML, body b. HTML, Body, Title, Head c. HTML, Head, Title, Body d. HTML, Head, Title, Body

d. HTML, Head, Title, Body

Which one of the following is not a block element? a. Paragraphs b. Lists c. Table cells d. Links

d. Links "links" is not a block element. In HTML, a block element is a type of element that is used to create a visible "block" on a web page. This means that it occupies its own space on the page, separate from other elements, and typically takes up the full width of its container. Block elements include elements such as paragraphs, headings, lists, and table cells, which are all visible blocks of content that can be formatted and styled independently.

Which of the following is not a way in which CSS can style an image? a. Opacity b. Borders c. Rounded corners d. None of the above

d. None of the above They all can be used to style an image.

Which of the following is not a kind of selector a. Type selector b. Class selector c. ID selector d. Star selector

d. Star selector

Which one of the following describes kinds of selectors INCORRECTLY? a. Type selectors: Type selectors are existing html tags. b. Class selectors: Category of tags which are already defined by users. c. ID selectors: A unique individual tag. d. Style selectors: The style that has been adopted in html.

d. Style selectors:

Which of the following isn't an attribute of an IP address? a. It's your computer's phone number b. They are assigned by the router c. The DNS keeps track of all of them d. They are installed on an app in your phone

d. They are installed on an app in your phone *Note: The Domain Name System (DNS) is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other Internet Protocol networks.

What is NOT an example of a resource that a server can respond with on HTML? a. Media (images, movies) b. HTML files c. JSON files d. Website links

d. Website links

A CSS declaration is surrounded by a. ( ) b. [ ] c. < > d. { }

d. { }

What are python file extensions labeled?

.py This file extension is used to indicate that the file contains Python source code that can be executed by the Python interpreter. Python source code files are typically named with a .py file extension, though this is not a requirement and the file can have any name as long as it has the correct file extension. For example, a file containing Python code to print "Hello, World!" to the console might be named hello_world.py.

What line of code represents HTML connecting to CSS Styles 1. <link href="style.css" rel="stylesheet" type="text/css"> 2. <link href="style.ssc" rel="stylesheet" type="text/css"> 3. <link href="style.css" rel="styletype" type="text/css"> 4. None of the above

1. <link href="style.css" rel="stylesheet" type="text/css"> <link href="style.css" rel="stylesheet" type="text/css"> represents HTML connecting to CSS Styles. In order to connect an HTML document to a stylesheet, you must include a <link> element in the <head> section of the HTML document. The <link> element is used to define a relationship between the HTML document and an external resource, such as a stylesheet. The <link> element must include the href attribute, which specifies the URL of the stylesheet, and the rel attribute, which specifies the relationship between the HTML document and the stylesheet. Here is an example of how to use the <link> element to connect an HTML document to a stylesheet: <head> <link href="style.css" rel="stylesheet" type="text/css"> </head> In this example, the <link> element is used to connect the HTML document to the stylesheet at the URL "style.css". The rel attribute is set to "stylesheet", which tells the browser that the linked resource is a stylesheet. The type attribute is set to "text/css", which specifies the type of the stylesheet. This <link> element is the correct way to connect an HTML document to a stylesheet, and it is important to include it in the <head> section of the HTML document in order to properly apply the styles from the stylesheet to the page.

What kind of languages is 'hypertext' an old name for? 1. Programing 2. English 3. Markup 4. Computer

3. Markup

What is an example of a block element? A) paragraphs B) links C) images D) src

A) paragraphs

In HTML, what tag creates a line break to add vertical space between elements? A. <br> B. <b> C. <break> D. <p>

A. <br> In HTML, the tag <br> is used to create a line break and add vertical space between elements. The <br> tag is a self-closing tag, which means that it does not require a closing tag like other HTML elements. It is used to add extra space between elements on a web page, such as between paragraphs of text or between images and other content.

What should you never style your webpage with? A. Python B. CSS C. HTML D. Java

A. Python Python is not typically used for styling webpages. While Python is a powerful and versatile programming language, it is not commonly used for styling webpages. CSS, on the other hand, is a stylesheet language that is specifically designed for styling webpages. HTML is a markup language that is used to structure the content of a webpage, while Java is a programming language that is often used to create interactive elements on a webpage. In general, it is best to use the appropriate tool for the job, and to avoid using tools that are not well-suited to the task at hand.

What is an IP address? A. Your computer's phone number on the internet B. A giant dictionary of all websites on the internet C. An internet service that keeps track of IP addresses and associate them with a name D. A publicly available server

A. Your computer's phone number on the internet An IP address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. An IP address serves two main functions: it identifies the host or network interface, and it provides the location of the host in the network. In this way, an IP address functions like a street address or phone number, allowing devices on a network to communicate with one another. An IP address is not a server, a dictionary of websites, or a phone number.

Which is the top level (largest) heading in HTML? A. h1 B. h2 C. h4 D. h6

A. h1 A. h1 is the top level (largest) heading in HTML. In HTML, heading tags are used to denote the different levels of headings in a document. The h1 tag is used for the largest and most important heading, while h2 is used for the second-most important heading, and so on. There are six heading levels in total, ranging from h1 to h6.

What should the .CSS extensions and main files be called? A. main.css and style.css B. main.css and program.css C. style.css and program.css D. framework.css and bulma.css

A. main.css and style.css The names of the .CSS extension and main files can vary depending on the specific project and the preferences of the designer. Some common options for naming these files include "main.css" and "style.css", "styles.css" and "theme.css", or simply "styles.css".

How do you move a turtle forward 60 units? A. myTurtle.forward(60) B. myturtleforward(60) C. Turtle.forward(60) D. myTurtle.Forward(60)

A. myTurtle.forward(60)

An id declaration should be used how often per web page? a. Once b. Twice c. Four times d. At least ten

An id declaration should be used once per web page. In HTML and CSS, an id is an attribute that can be applied to an element to give it a unique identifier. The id attribute is defined using the "id" keyword followed by an equals sign and the value of the id in quotation marks. For example, to give an element the id "main", you would use the following code: <div id="main"></div> The id attribute can then be used in a CSS stylesheet to target and style the element with the specified id. For example, to give the element with the id "main" a red background, you would use the following code in your stylesheet: #main { background-color: red; } In HTML and CSS, it is important to use unique id values, as each id can only be used once per web page. This means that you should use an id declaration only once per web page, to ensure that there are no conflicts or errors when applying styles to elements.

What function do you use in python to add an item to a list? A) .add B) .append C) .merge D) .mend

B) .append In Python, the .append() method is used to add an item to a list. This method modifies the list in-place, appending the specified item to the end of the list. Here is an example of how to use the .append() method: # Create a list of fruits fruits = ["apple", "banana", "cherry"] # Add an orange to the list of fruits fruits.append("orange") # Print the updated list of fruits print(fruits) In this example, the .append() method is used to add "orange" to the end of the fruits list. The resulting list will be ["apple", "banana", "cherry", "orange"]. The .add(), .merge(), and .mend() methods are not valid methods for adding items to a list in Python.

What Does (DOM) mean? A) Document odd model B) Document object model C) Document observe model D) Document old model

B) Document object model (DOM) stands for Document Object Model. It is a language-neutral and platform-independent interface that allows programs and scripts to access and manipulate the content, structure, and style of a web page. The DOM is a tree-like representation of a web page, and it is used to represent the elements on the page as objects. These objects can be accessed and manipulated using a programming language, such as JavaScript, which allows developers to create interactive and dynamic web applications. The DOM is an important part of the web, and it is used by nearly all web browsers to render and display web pages. It is a crucial part of the web development process, and it is essential for creating modern and interactive web applications.

What is the abbreviation of HTML? A) Hypertext marking language B) Hypertext markup language C) Headertext markup language D) Hypertext markdown language

B) Hypertext markup language

On HTML, what does <ul> stand for? A) Undefined list B) Unordered list C) Unused list D) Under list

B) Unordered list On HTML, the <ul> tag stands for "unordered list". This tag is used to create a list of items that are not ordered or numbered. The items in an unordered list are typically displayed with bullet points, rather than numbers. For example, you might use an unordered list to create a list of links on a web page, or a list of ingredients in a recipe. The <ul> tag is typically paired with the <li> tag, which is used to define each individual item in the list.

What should a style declaration be grouped with? A) brackets [] B) curly braces {} C) chevron < /> D) parenthesis ()

B) curly braces {}

What goes into the <head> tag (Select all that apply) a. Images b. Title c. Metaname d. Facts

B, C, D Some of the things that can go into the <head> tag include: Title: The <title> tag is used to define the title of the web page. The title appears in the tab or window title of the web browser, and it is also used by search engines to understand the content of the page. Metaname: The <meta> tag is used to provide additional information about the web page that is not displayed directly on the page. This information can include the page's author, a description of the page's content, and other metadata. Facts: The <fact> tag is not a valid HTML tag, so it would not be included in the <head> tag. Images: Images are typically not included in the <head> tag, as the <head> tag is used to provide information about the page, not to display content. Images are typically included in the <body> tag, which defines the main content of the web page. The <head> tag is an important part of an HTML page, as it provides additional information that is not displayed directly on the page but is still crucial for the proper display and understanding of the page.

In HTML basic structure, which brackets are used to identify the tag? A. {} B. <> C. [] D. ()

B. <> In HTML, the brackets <> are used to identify a tag. HTML tags are used to define the structure and content of a web page. Each tag has a specific meaning and is used to mark up the content of the page, such as headings, paragraphs, and links. Each HTML tag has an opening and closing tag, with the content of the tag appearing in between. The opening tag is identified by the brackets <>, while the closing tag is identified by the same brackets but with a forward slash before the tag name, like this: </tagname>.

Using HTML, what is the proper command to insert an image A. <img> B. <img src= C. img src> D. HTML img

B. <img src=

Which tag in HTML does NOT match the given function? ____ A. <ol>, ordered list B. <ul>, list item C. <thead>, table header D. <br>, break

B. <ul>, list item The <ul> tag represents an unordered list, which is a container for a set of list items. The correct function for this tag is "unordered list". A list item is represented by the <li> tag, which is used inside the <ul> container to define individual items in the list.

What does CSS stand for, and what is it used for? A. Cascading System sheets, describes what the content should look like and how it should be displayed B. Cascading Style Sheets, describes what the content should look like and how it should be displayed C. Cascading System sheets, allows for importing photos D. Cascading Style Sheets, allows for importing photo

B. Cascading Style Sheets, describes what the content should look like and how it should be displayed

What is the key difference between class and id in HTML/CSS? A. Class is a unique tag, id is a category of tags B. Class is a category of tags, id is a unique tag C. Class is 100 tags, id is 99 tags D. There is no difference.

B. Class is a category of tags, id is a unique tag

The tree structure of a webpage is called A. html B. the document object model C. the block element D. the server

B. the document object model (DOM)

A declaration in CSS will be surrounded by what? A.) () B.) {} C.) [] D.) <>

B.) {} A declaration in CSS will be surrounded by curly braces, {}. A declaration typically consists of a property and a value, separated by a colon, and each declaration is separated by a semicolon.

Which of the following do you use to add an item to the end of a list in Python? A) len() B) .index() C) .append() D) .create()

C) .append() In Python, a list is a data structure that is used to store a collection of items. A list is represented by square brackets ([]) and it can contain any number of items of different types (e.g. numbers, strings, objects, etc.). A list is a powerful data structure that allows you to manipulate, access, and modify its items in various ways. One of the ways to modify a list in Python is by using the .append() method, which is used to add an item to the end of a list. Here is an example of how to use the .append() method in Python: my_list = ["apple", "banana", "cherry"] my_list.append("date") In this example, the .append() method is used to add the item "date" to the end of the list (my_list). The .append() method takes the item to be added as an argument, and it adds it to the end of the list. After the .append() method is executed, the list (my_list) will contain the items ["apple", "banana", "cherry", "date"]. The .append() method is an important part of the Python language, and it is used to add an item to the end of a list.

What should you start your whole HTML file with? A) <html> B) <header> C) <!DOCTYPE html> D) <body>

C) <!DOCTYPE html>

What is a common mistake people make in HTML? A) missing closing tags B) wrong indentation C) All of the Above D) Nothing, people are too smart to make mistakes in HTML

C) All of the Above

How do you display an image in HTML? A. <br> B. <alt> C. <img> D. <input>

C. <img> To display an image in HTML, you can use the <img> tag. The <img> tag is a self-closing tag, which means that it does not require a closing tag like other HTML elements. It is used to embed an image on a web page, and it requires the use of the src attribute to specify the location of the image file. For example, you might use the <img> tag like this: <img src="http://www.example.com/images/myimage.jpg">

What does HTML stand for? A. HighTech Markup Language B. HyperTech Markup Language C. HyperText Markup Language D. HighText Markup Language

C. HyperText Markup Language HTML stands for HyperText Markup Language. It is a markup language that is used to structure and format the content of a web page. HTML uses a system of tags and attributes to define the different elements on a web page, such as headings, paragraphs, images, and links. The tags and attributes are written in plain text, and they are interpreted by the browser to render the page in a specific way. HTML is an essential part of the web, and it is used to create the structure and content of nearly every web page on the internet. It is a powerful and versatile language that allows developers to create complex and interactive web applications.

What does HTML stand for? A. HighTech Modern Language B. HighDrive Modern Language C. HyperText Markup Language D. HyperText Modern Language

C. HyperText Markup Language HTML stands for HyperText Markup Language. It is a standardized system for marking up text documents to indicate structure and formatting, such as headings, paragraphs, lists, and so on. HTML is the language used to create the majority of web pages, and it is essential for building the structure and content of a website.

Which feature is NOT an available style option of CSS to HTML? A. Color B. Size C. Language Translation D. Positioning Information

C. Language Translation Language Translation is not an available style option of CSS to HTML. CSS, or Cascading Style Sheets, is a style sheet language used to control the appearance of HTML elements. It provides a number of different style options that can be applied to HTML elements, such as color, size, font, and position. However, it does not provide any options for language translation. To translate the content of an HTML page, you would need to use a different tool or technology, such as a translation plugin or service.

In HTML, how many levels of headings are there? A.) 7 B.) 8 C.) 6 D.) 5

C.) 6 The headings are represented by the <h1>, <h2>, <h3>, <h4>, <h5>, and <h6> elements, with <h1> being the highest level and <h6> being the lowest level. Headings are used to structure the content of a page and to create a hierarchy of information.

What symbol must be included in the inequality symbols to indicate the "end" of a sequence of lines of code in HTML? A: < B: > C: / D: -

C: / / is the symbol that must be included in the inequality symbols to indicate the "end" of a sequence of lines of code in HTML. In HTML, the inequality symbols < and > are used to denote the beginning and end of an HTML element or tag. For example, the <p> tag is used to mark the beginning of a paragraph, and the </p> tag is used to mark the end of the paragraph. Notice that the closing tag includes a forward slash (/) before the tag name to indicate that it is the end of the element. This is a standard syntax for HTML tags and is used to indicate the boundaries of an element. It is important to include the forward slash in the closing tag, as it helps the browser to properly interpret and render the content of the page.

How do you properly bold text in HTML? A: <b> text B: </b> text <b> C: <b> text </b> D: text <b>

C: <b> text </b> <b> text </b> is the proper way to bold text in HTML. The <b> and </b> tags are used to mark the beginning and end of a span of text that should be rendered in bold. The text between the opening and closing tags will be bolded by the browser. Here is an example of how to use the <b> tag: <b>This text will be bold.</b> The text "This text will be bold" will be rendered in bold by the browser. Note that the <b> tag is an inline element, which means it can be used within a block-level element such as a paragraph. It cannot be used to create a new paragraph, for which you would need to use the <p> tag.

What does CSS stand for?

Cascading Style Sheets

What is the extension for a Javascript file? A) .py B) .xlsx C) .css D) .js

D) .js The extension for a JavaScript file is .js. JavaScript is a programming language that is commonly used to add interactive elements to web pages. When creating a JavaScript file, the file should be saved with a .js extension, which indicates that it contains JavaScript code. This is different from the .py extension, which is used for Python files, the .xlsx extension, which is used for Excel files, and the .css extension, which is used for CSS stylesheets.

What is the main purpose of CSS? A) Add pictures onto a web page B) Add words onto a web page C) Make a web page run faster D) Add style to the elements of a web page

D) Add style to the elements of a web page The main purpose of CSS is to add style to the elements of a web page. This includes things like specifying the font, color, and layout of text and other elements on the page. CSS allows web designers to separate the content of a web page from its presentation, making it easier to maintain and update the design of a website. It can also help to make a web page more visually appealing and improve its overall user experience.

Which of these is a type of input? A) text B) date C) number D) All of the above

D) All of the above Text, date, and number are all types of input in HTML. In HTML, input elements are used to collect and submit data from users. There are many different types of input elements, including text, date, number, email, password, and radio buttons. Each type of input element has a specific purpose and behavior, and it is used to collect a specific type of data from the user. For example, the <input type="text"> element is used to collect text input from the user, while the <input type="date"> element is used to collect a date from the user. Here is an example of how to use different types of input elements in an HTML form: <form> <label for="name">Name:</label> <input type="text" id="name" name="name"> <label for="birthday">Birthday:</label> <input type="date" id="birthday" name="birthday"> <label for="age">Age:</label> <input type="number" id="age" name="age"> </form> In this example, the <input> elements are used to collect text, date, and number input from the user. These different types of input elements can be used to collect a wide range of data from users, and they are an essential part of creating interactive web applications.

How many types/arguments can you put in a list, aka int, string, float, etc.? A) 0 B) 1 C) 3 D) As many as you want

D) As many as you want In a list, you can put as many types or arguments as you want. A list in Python is a collection of objects that can hold any type of data, including integers, strings, floats, and more. You are not limited to only using a single type of data in a list; you can mix and match different types of data as needed. For example, you could create a list that contains an integer, a string, and a float like this: my_list = [1, "hello", 3.14] In this example, the list my_list contains three items: the integer 1, the string "hello", and the float 3.14. You are not limited to only three items, and you are not limited to only these three types of data. You can add as many items and as many different types of data to a list as you need. Therefore, the answer is D) As many as you want.

Which of the following is a tag in HTML? A. block element B. route element C. paragraph D. <table>

D. <table> In HTML, a tag is a markup construct that is used to annotate the content of a web page. Tags are represented by a special syntax (e.g. <tagname>) that surrounds the content that it applies to, and they are used to define the structure, layout, and formatting of a web page. Some examples of tags in HTML are: <p>: The <p> tag is used to create a paragraph of text on a web page. <h1>: The <h1> tag is used to create a level-1 heading on a web page. <div>: The <div> tag is used to create a container element on a web page. <table>: The <table> tag is used to create a table on a web page. As you can see, <table> is a tag in HTML, and it is used to create a table on a web page. A tag is an important part of the HTML language, and it is used to annotate the content of a web page.

Whats the protocol that computers use to communicate data? A. ssh B. http C. ftp D. All of the above

D. All of the above -SSH (Secure Shell) is a network protocol that provides a secure way for users to remotely connect to a computer and transfer files over an unsecured network. -HTTP (Hypertext Transfer Protocol) is the foundation of the World Wide Web, and it is used to transmit data between web servers and clients (such as web browsers) over the internet. -FTP (File Transfer Protocol) is a standard network protocol used to transfer files between computers on a network. Each of these protocols serves a specific purpose and is designed to handle different types of data communication. For example, HTTP is used to transmit data for web applications, while FTP is used to transfer files between computers.

What does a CSS declaration consist of? A. The property name you wish to change B. A colon C. The value to set D. All the above

D. All the above A CSS declaration consists of three parts: the property name, a colon, and the value to set. For example, a CSS declaration might look like this: font-size: 18px; In this example, "font-size" is the property name, ":" is the colon, and "18px" is the value to set. This CSS declaration would set the font size of the specified element to 18 pixels. The other options you have listed, the property name you wish to change and the value to set, are both correct and are part of a CSS declaration. Together, these three parts make up a single CSS rule that specifies a particular style for an element on a web page.

What does a CSS declaration NOT contain? A. Property name B. Value C. A colon D. An exclamation point

D. An exclamation point An exclamation point. A CSS declaration does not contain an exclamation point. In CSS, a declaration is a statement that specifies a property and a value for a particular element on a web page. A declaration is made up of a property, a colon, and a value, and it is used to apply a specific style to an element on the page. For example, to change the color of a paragraph to red, you would use the following declaration: p { color: red; } In this example, the declaration consists of the property "color" followed by a colon and the value "red". The declaration is placed inside a block of code that is associated with the element (in this case, the <p> element), and it tells the browser to apply the style (in this case, the color red) to the element. A CSS declaration does not contain an exclamation point, as it is not part of the syntax of the language. The exclamation point is not used in CSS, and it should not be included in a declaration.

How do you order a three number function in python? A. def OrderThreeNumbers() B. def PrintThreeNumbers() C. def ThreePrintNumbers() D. def ThreeOrderNumbers()

D. def ThreeOrderNumbers()

Which command does NOT make myTurtle face north if it is originally facing east? ____ A. myTurtle.left(90) B. myTurtle.right(270) C. for i in range (0,2) myTurtle.left(45) D. myTurtle.left(pi/2)

D. myTurtle.left(pi/2) This command instructs the turtle to turn left by an angle of pi/2 radians, which is equivalent to 90 degrees, which would make it face south, not north.

In HTML, what is the proper way to start a line where you want the text to be the largest default heading size? a) <h1> b) <H1> c) <title> d) <b1>

a) <h1>

Which HTML tag is used to define a heading/title? a) <h1> b) <h2> c) <t1> d) <t2>

a) <h1>

How is a code block shown in Python? a) Indentation b) Key c) Brackets d) None of the above

a) Indentation Indentation is used to show a code block in Python. In Python, indentation is used to indicate a code block, which is a group of statements that should be treated as a unit. A code block is defined by indenting the statements within it by a certain number of spaces or tabs. The amount of indentation required to define a code block is determined by the indentation level of the code block, which is typically specified by the programmer. Here is an example of how indentation is used to define a code block in Python: if x > 10: print("x is greater than 10") print("This is part of the code block") print("This is not part of the code block") In this example, the code block is defined by the two print statements that are indented beneath the if statement. These statements will be executed only if the condition (x > 10) is true, and they will be treated as a unit by the interpreter. The final print statement is not indented, so it is not part of the code block and it will be executed regardless of the value of x. Indentation is an important part of the syntax in Python, and it is used to define code blocks and indicate the structure of the code.

What does <p> mean in HTML? a) Paragraph b) Parentheses c) Part d) a and c

a) Paragraph

How can you link to portions of the local page? a) Using the id attribute b) Using a block level element c) Using an anchor tag d) Using an inline element

a) Using the id attribute In HTML, you can link to a specific section of a page by using the id attribute on the element that defines that section. For example, if you have a <h1> element with an id attribute of section1, you can create a link to that section using the <a> (anchor) tag, like this: <a href="#section1">Link to Section 1</a> When the user clicks on this link, the web browser will scroll to the element with the id attribute of section1. This technique can be useful for creating table of contents or for allowing users to quickly navigate to different sections of a long webpage. The other options are not related to linking to specific portions of a local page.

What kind of brackets do HTML tags use? a. < > b. { } c. [ ] d. ( )

a. < >

Which type of bracket is correct to identify HTML tags? a. <HTML> b. {HTML} c. [HTML] d. (HTML)

a. <HTML>

How to insert a background image in HTML? a. <body background = "img.png"> b. <img background = "img.png"> c. <bg-image = "img.png"> d. None of the above

a. <body background = "img.png">

Which of the following is the correct way to create tags in HTML for a body? a. <body></body> b. </body><body> c. <body/><body> d. <body><body/>

a. <body></body>

In HTML, which tag forces a line break? a. <br> b. <skip> c. <space> d. <enter>

a. <br>

What tag represents a line break in HTML? a. <br> b. <b> c. <break> d. None of the above

a. <br> <br> represents a line break in HTML. The <br> tag is an empty tag, which means it does not have a closing tag. It is used to insert a line break in an HTML document. Here is an example of how to use the <br> tag: This is the first line of text.<br> This is the second line of text. The line break will be inserted between the two lines of text, and the text will be rendered as follows: This is the first line of text. This is the second line of text. Note that the <br> tag is an inline element, which means it can be used within a block-level element such as a paragraph. It cannot be used to create a new paragraph, for which you would need to use the <p> tag.

Which tag is used to center text in HTML? a. <center> b. <c> c. <mid> d. <cent>

a. <center>

When writing HTML code, what is the tag for a division? a. <div> b. <division> c. <DIV> d. <DIVISION>

a. <div>

Which HTML header would you use if you wanted a very large title? a. <h1> b. <h3> c. <h5> d. <h7>

a. <h1>

Which tag is used to insert image in HTML? a. <img> b. <li> c. <head> d. <html>

a. <img>

Which tag is used to embed an image in HTML page? a. <img> b. <image> c. img d. image

a. <img> The <img> tag is used to embed an image in an HTML page. The <img> tag is an empty tag, which means it does not have a closing tag. The image file is specified using the src attribute, which stands for "source." For example, to embed an image called "my-image.jpg" in an HTML page, you would use the following code: <img src="my-image.jpg"> The <img> tag also supports other attributes, such as alt, which specifies an alternate text for the image, and width and height, which specify the dimensions of the image.

What is the correct answer to the ordered list? a. <ol> content </ol> b. <ul> content</ul> c. <li> content</li> d. <ol>

a. <ol> content </ol> In HTML, an ordered list is a list of items that are arranged in a specific order, such as a numbered list or a list of steps in a process. An ordered list is created using the <ol> element, which stands for "ordered list". The <ol> element must include the opening and closing tags, and it can contain one or more <li> elements (list items) that represent each item in the list. Here is an example of how to create an ordered list in HTML: <ol> <li>First item</li> <li>Second item</li> <li>Third item</li> </ol> In this example, the <ol> element is used to create an ordered list that contains three items. The items are represented by the <li> elements, which are arranged in a specific order (first, second, and third). The browser will automatically number the items in the list according to their order. An ordered list is an important part of the HTML language, and it is used to create lists of items that are arranged in a specific order.

What tag do you use to use CSS? a. <style> b. <css> c. <formatting> d. <htmlstyle>

a. <style>

What is the correct way to code a title for your project? a. <title> insert title here</title> b. <title> c. *Title* <insert here> d. "Title"

a. <title> insert title here</title> In HTML, the title element is used to define the title of a document. The title element should be placed inside the head element of an HTML document. The text you want to use as the title of your project should be placed between the opening and closing title tags.

What are the 2 kinds of tags in HTML? a. Block elements and inline elements b. Syntax element and online element c. Tag elements and block elements d. Syntax element and tag elements

a. Block elements and inline elements In HTML, block elements create a rectangular area on the page and typically start on a new line. Examples of block elements include headings (<h1>, <h2>, etc.), paragraphs (<p>), and divs (<div>). In contrast, inline elements do not create a new rectangular area on the page and can be used within block elements. Examples of inline elements include links (<a>), emphasis (<em>), and images (<img>). The other options do not accurately describe the kinds of tags in HTML.

What program is the following used for: {border: 5px solid #021a40;} a. CSS b. Python c. HTML d. Java

a. CSS The code {border: 5px solid #021a40;} is used in CSS. CSS, or Cascading Style Sheets, is a stylesheet language that is used to define the visual appearance of web pages. This code defines a style for a border that will be applied to an HTML element. The style specifies that the border should be 5 pixels wide, solid in style, and have a hexadecimal color value of #021a40. This code would typically be included in a CSS stylesheet, which is then linked to an HTML document to apply the styles to the elements on the page. This code is not related to Python, HTML, or Java.

What does CSS stand for? a. Cascading Style Sheets b. Computer Software System c. Computer Software Sheets d. Chrome Software Sheets

a. Cascading Style Sheets

What is the difference between Class and ID a. Class: Category of tags. ID: A unique tag b. Class: program of events. ID: unique tag c. Class: Category of tags. ID: A general name d. Class: Program of events. ID: A general name

a. Class: Category of tags. ID: A unique tag

Which heading has the largest text? a. H1 b. H4 c. H6 d. H2

a. H1

How do you set the source of an image to a previously downloaded jpeg file in html? a. Img src = file.jpeg b. Image source = file.jpeg c. Image src = file.jpeg d. Img source = file.jpeg

a. Img src = file.jpeg

What does IP stand for? a. Internet Protocol b. Internet Processing c. Indent Paragraph d. Insert Protocol

a. Internet Protocol IP stands for Internet Protocol. It is a set of rules and standards that govern how data is transmitted over a network, such as the internet. IP is the primary protocol used for communication on the internet, and it is responsible for routing data packets between devices on the network. It is a key component of the internet, and it enables devices to communicate with each other and access resources on the network.

An IP address . . . a. Is your computer's phone number on the internet. b. Never changes. c. Is not assigned by the router. d. Is a server.

a. Is your computer's phone number on the internet. An IP address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. It serves as an identifier for the device and allows it to communicate with other devices on the network. An IP address is not a phone number, and it can change depending on various factors such as network configuration or internet service provider. It is typically assigned by a router or other network device. An IP address is not a server, but a server can have its own IP address that clients can use to connect to it.

Which of the following is NOT an example of a block element: a. Links b. Lists c. Table Cells d. Paragraphs

a. Links In HTML, a block element is an element that is used to create a rectangular block of content that takes up the full width of its container. Block elements are typically used to create structural elements on a web page, such as paragraphs, headings, lists, tables, etc. Some examples of block elements in HTML are: -Paragraphs: The <p> element is used to create a block of text that is typically used as a paragraph. -Headings: The <h1>, <h2>, <h3>, etc. elements are used to create headings of different sizes. -Lists: The <ul>, <ol>, and <dl> elements are used to create unordered, ordered, and definition lists, respectively. -Tables: The <table> element is used to create tables that contain rows and columns of data. As you can see, links (a) is not an example of a block element. Links are not typically used to create structural elements on a web page, and they are not considered to be block elements. Links are inline elements, which means that they are typically used to create elements that are inline with the text, such as hyperlinks, buttons, images, etc.

HTML is a _____ language: a. Markup b. Love c. Programming d. Design

a. Markup HTML is a markup language. A markup language is a type of computer language that is used to apply formatting and other semantic information to text. HTML is a specific markup language that is used to structure and format the content of web pages. It uses a set of predefined tags to define different elements on a page, such as headings, paragraphs, lists, links, and images. These tags are used to markup the content of the page, which means they are used to add meaning and structure to the text. For example, the <h1> tag is used to markup a heading, the <p> tag is used to markup a paragraph, and the <img> tag is used to markup an image. The resulting markup language can then be rendered by a web browser to display the formatted content.

What do HTML tags use angle brackets to identify? a. The tag b. The frame c. The structure d. The body

a. The tag HTML tags use angle brackets to identify the tag. In HTML, tags are used to define the structure and formatting of a web page. Each tag has a specific name, and it is identified using angle brackets, < and >. For example, the <p> tag is used to define a paragraph, and the <h1> tag is used to define a heading. The angle brackets surround the tag name and indicate that it is an HTML tag. Here is an example of how a tag is used in an HTML document: <p>This is a paragraph.</p> In this example, the <p> tag is used to mark the beginning and end of a paragraph. The angle brackets identify the tag and indicate to the browser that it should render the text between the tags as a paragraph.

What is the purpose of an anchor element? a. To create a link between two resources. b. To hold a vessel in a particular place. c. To give someone support when needed. d. To symbolize steady faith in your partner

a. To create a link between two resources. An anchor element is an HTML element that is used to create a hyperlink between two resources on a web page. An anchor element is represented by the <a> tag, and it is used to link to other web pages, files, or locations on the same web page. Here is an example of how to use an anchor element in HTML: <a href="http://example.com">Link text</a> In this example, the anchor element is represented by the <a> tag, and it contains an attribute (href) that specifies the destination of the link (http://example.com). The content of the <a> tag (Link text) is the visible text of the link that will be displayed on the web page. When a user clicks on the link, they will be redirected to the specified destination. An anchor element is an important part of the HTML language, and it is used to create hyperlinks between two resources on a web page.

What are the two kinds of lists in python? a. Unordered and ordered b. Chronological c. Numerical d. Alphabetical e. None of the above

a. Unordered and ordered The two kinds of lists in Python are unordered and ordered lists. An unordered list is a collection of items that are not arranged in any particular order. An unordered list is represented in Python by the list data type, which is a mutable sequence of elements that can contain values of any type. Here is an example of how to create an unordered list in Python fruits = ["apple", "banana", "orange"] print(fruits) In this example, the fruits list is an unordered collection of three elements (apple, banana, and orange). The elements are not arranged in any particular order, and they can be accessed and manipulated using the list index or by iterating over the list. An ordered list, on the other hand, is a collection of items that are arranged in a specific order. An ordered list is represented in Python by the tuple data type, which is an immutable sequence of elements that can contain values of any type. Here is an example of how to create an ordered list in Python: numbers = (1, 2, 3) print(numbers) In this example, the numbers tuple is an ordered collection of three elements (1, 2, and 3). The elements are arranged in a specific order, and they can be accessed and manipulated using the tuple index or by iterating over the tuple. The two kinds of lists in Python are unordered and ordered lists, and they are used to store and manipulate collections of elements in different ways.

When using HTML, what does the <h5> tag mean? a. Using the h5 tag means that you are defining whatever text that comes after the tag as the fifth level heading. b. The h5 tag means that the next five words you type are highlighted. c. The h5 tag means that the cursor will hop to the right 5 spaces. d. The h5 tag means that when you click the "run" button on your repl, the text "h5" will be displayed on your web page screen.

a. Using the h5 tag means that you are defining whatever text that comes after the tag as the fifth level heading. In HTML, the <h5> tag represents the fifth level heading. In HTML, headings are used to structure and organize the content of a web page. There are six levels of headings, ranging from <h1> to <h6>, and each level represents a different level of importance or hierarchy in the content. The <h5> tag is the fifth level heading, and it is used to define text as a heading of medium importance or hierarchy. Here is an example of how to use the <h5> tag in HTML: <h5>This is a level 5 heading</h5> <p>This is a paragraph of text.</p> <h5>This is another level 5 heading</h5> <p>This is another paragraph of text.</p> In this example, the <h5> tag is used to define two different pieces of text as level 5 headings. The text that comes after the opening <h5> tag and before the closing </h5> tag is treated as a heading, and it is displayed on the page with a medium level of importance or hierarchy. The <h5> tag is an important part of the HTML language, and it is used to structure and organize the content of a web page.

What is a good way to think of IP addresses that we learned in lecture? a. Your computer's phone number on the internet b. A tool similar to Microsoft Word c. A tool to access the internet (like a search engine) d. A nickname

a. Your computer's phone number on the internet

Which python command allows you to define a numerical sequence? a. range() b. input() c. print() d. while

a. range() In Python, the range function is used to generate a sequence of numbers within a specified range. For example, range(5) would generate the sequence 0, 1, 2, 3, 4. This sequence can then be used to control the number of times a loop repeats or to iterate over the elements of a list or array. The range function does not accept any input, so it is not related to the input function. The print function is used to print output to the console, and the while keyword is used to create a while loop in Python.

The HTML attribute used to define the inline styles is? a. style b. styles c. class d. None of the above

a. style The HTML attribute used to define inline styles is style. This attribute is used to specify CSS styles for a specific HTML element. Inline styles are applied directly to the HTML element using the style attribute, and take precedence over styles defined in the <head> section of the HTML document or external style sheets. The class attribute is used to define a class for an HTML element, which can then be used to apply styles to multiple elements on a page.

How do you bold text in HTML? a) <i> b) <b> c) <bold> d) <p>

b) <b> <b> is the correct way to bold text in HTML. The <b> tag is used to mark the beginning and end of a span of text that should be rendered in bold. The text between the opening and closing tags will be bolded by the browser. Here is an example of how to use the <b> tag: <b>This text will be bold.</b> The text "This text will be bold" will be rendered in bold by the browser. Note that the <b> tag is an inline element, which means it can be used within a block-level element such as a paragraph. It cannot be used to create a new paragraph, for which you would need to use the <p> tag.

Which tag can display an image in HTML? a) <jpg> b) <img> c) <jpeg> d) <image>

b) <img> The correct HTML tag to display an image is the <img> tag. The <img> tag is used to insert an image into an HTML document. It is an inline element, which means that it can be placed within a block-level element such as a paragraph or table cell, and it does not create its own block on the page. To use the <img> tag, you need to specify the source of the image using the src attribute, as well as any other attributes that you want to set, such as the width, height, and alt text of the image.

What is the purpose of CSS? a) For coding websites b) For stylizing HTML files c) For displaying 0's and 1's d) For processing True and False statements

b) For stylizing HTML files

In python, what is the correct syntax for a list? a) list = {} b) list = [] c) list = <> d) list

b) list = [] The correct syntax for a list in Python is list = []. In Python, square brackets [] are used to create a list.

What are class selectors in CSS? a) existing html tags b) user defined category of tags c) an individual tag d) a series of descending tags

b) user defined category of tags In CSS, a class selector is a pattern that is used to match elements on a web page based on their class attribute. The class attribute is a non-unique attribute that can be applied to multiple elements on a web page, and it is used to define a user-defined category of elements that should be styled using a specific set of style declarations. A class selector is represented by a period (.) followed by the class name, and it is used to match elements that have the specified class attribute. Here is an example of how to use a class selector in CSS: .classname { property: value; property: value; } In this example, the class selector is represented by the period (.) followed by the class name (classname). The selector is followed by a block of style declarations enclosed in curly braces ({}). These style declarations will be applied to any elements on the web page that have the class attribute set to "classname". A class selector is an important part of the CSS language, and it is used to match elements on a web page based on their class attribute.

What are the two types of tags and what do they do in HTML (select all that apply) a. Block elements: contain an entire large region of content b. Heading: Used to put titles c. Body: Used to put all relevant information d. Inline elements: affect a small amount of content

b, c In HTML, there are two types of tags: block-level elements and inline elements. Block-level elements: These elements contain an entire large region of content, and they typically create a rectangular block on the page. Block-level elements start on a new line and take up the full width of the page, unless otherwise specified. Examples of block-level elements include the <h1> heading tag, the <p> paragraph tag, and the <div> division tag. Inline elements: These elements affect a small amount of content within a block-level element. Inline elements do not create a new line on the page, and they only take up as much space as the content they contain. Examples of inline elements include the <b> bold tag, the <a> anchor tag, and the <img> image tag. Some of the other options you have listed, such as the <title> tag and the <body> tag, are not specific types of tags. The <title> tag is used to define the title of the web page, while the <body> tag is used to define the main content of the web page. Both of these tags can be either block-level or inline elements, depending on how they are used in the page.

If you want to style a group of image elements so that they all have the same border, but for this to only affect images with the "selfie" class, what should your CSS include? a. img {border = 2px dotted LightGreen;} b. .selfie {border = 2px dotted LightGreen;} c. #selfie {border = 2px dotted LightGreen;} d. img = selfie {border = 2px dotted LightGreen;}

b. .selfie {border = 2px dotted LightGreen;} If you want to style a group of image elements so that they all have the same border, but for this to only affect images with the "selfie" class, your CSS should include ".selfie {border: 2px dotted LightGreen;}" In CSS, a class selector is used to select elements that have a specific class attribute. The class attribute is used to define a group of elements that can be selected and styled together, regardless of their type or other attributes. To select elements with a specific class, you use a period (.) followed by the class name. In this case, the class name is "selfie", so the class selector is ".selfie". This selector is followed by a set of curly braces, which enclose the declarations for the style that will be applied to elements with the "selfie" class. In this case, the declaration sets the border property to a value of "2px dotted LightGreen", which will apply a 2-pixel-wide dotted border with a color of LightGreen to all elements with the "selfie" class. The other options are not valid CSS syntax.

What symbol is used in HTML to indicate the end of a tag? a. : b. / c. \ d. <

b. /

Which of the following is the proper HTML declaration? a. <!DOCTYPE> b. <!DOCTYPE html> c. <!DT> d. <!DT html>

b. <!DOCTYPE html> <!DOCTYPE html> is the proper HTML declaration. The <!DOCTYPE> declaration is used to indicate the version of HTML that the document is written in. In HTML5, the <!DOCTYPE> declaration is simply: <!DOCTYPE html> This tells the browser that the document is written in HTML5, the latest version of HTML. The <!DOCTYPE> declaration must appear at the top of the HTML document, before the <html> tag. It is important to include this declaration, as it ensures that the browser knows which version of HTML to use when rendering the page.

What declaration must all HTML documents start with? a. <head> b. <!DOCTYPE> c. <body> d. <html>

b. <!DOCTYPE>

What is the correct HTML element for inserting a line break? a. <lb> b. <br> c. <break> d. <brk>

b. <br>

What command indicates an ordered list? a. <ul> b. <ol> c. <lo> d. <ul>

b. <ol>

Which tag is not part of the basic structure for an HTML document? a. <html> b. <p> c. <head> d. <body>

b. <p>

When writing a block of text, which tag should you use? a. <t> </t> b. <p> </p> c. <br/> d. p!

b. <p> </p>

Which of the following is NOT a table tag in HTML? a. <thead> b. <tback> c. <tbody> d. <tfoot>

b. <tback> HTML includes a number of tags that can be used to create and structure tables, including <table>, <thead>, <tbody>, and <tfoot>.

What is Bulma in CSS? a. A function that tells the browser which element(s) to apply the style declarations b. A framework that makes layout and common web styling easier c. A framework that describes what the content should look like and how it should be displayed

b. A framework that makes layout and common web styling easier

What is a class in the context of CSS? a. Place where students learn b. A unique tag when making a corresponding style declaration c. Economic wealth d. All of the above

b. A unique tag when making a corresponding style declaration In the context of CSS, a class is a unique tag that is used to apply a specific style to an element on a web page. In CSS, a class is defined using a dot (.) followed by the class name, and it is used to identify a group of elements that share a common style. For example, to create a class called "important" that applies a bold and red style to text, you would use the following declaration: .important { font-weight: bold; color: red; } In this example, the class is defined using the dot (.) followed by the class name "important". The class is then used to apply a specific style (bold and red) to the elements that have the class attribute set to "important". Here is an example of how to apply the class to an element in HTML: <p class="important">This is an important paragraph.</p> In this example, the class is applied to the <p> element using the class attribute. The class attribute is set to "important", which tells the browser that the element should be styled using the "important" class. The "important" class applies the bold and red style to the text of the paragraph, which makes it stand out from the other text on the page. A class in the context of CSS is a unique tag that is used to apply a specific style to an element on a web page. It is an important part of the CSS language, and it allows developers to create complex and flexible styles for their web pages.

What are the two types of tags in HTML? a. Chain and Inline b. Block and Inline c. Inline and Hypertext d. Batman and Robin

b. Block and Inline Block and Inline are the two types of tags in HTML. In HTML, tags are used to define the structure and formatting of a web page. There are two main types of tags in HTML: block-level tags and inline tags. Block-level tags define a larger, structural element on the page, such as a paragraph, heading, or list. They are used to mark the beginning and end of a block of content, and they typically create a new line on the page. Examples of block-level tags include <p>, <h1>, and <ul>. Inline tags, on the other hand, define a smaller, inline element within a block of text. They are used to mark the beginning and end of a span of text that should be styled differently from the surrounding text. Examples of inline tags include <b>, <i>, and <a>.

Which of the following is a false statement about HTML? a. All HTML documents must start with a <!DOCTYPE> declaration b. Block elements affect a small amount of content c. There are six levels of headings d. Ordered lists are denoted by the <ol> element

b. Block elements affect a small amount of content Block elements affect a small amount of content is a false statement about HTML. In HTML, block elements are used to define larger, structural elements on a web page. They are used to mark the beginning and end of a block of content, and they typically create a new line on the page. Examples of block elements include the <p>, <h1>, and <ul> tags. Unlike inline elements, which affect only a small span of text within a block of content, block elements affect the entire block of content within their opening and closing tags. Here is an example of how a block element is used in an HTML document: <p>This is a paragraph. It contains some text that will be affected by the block element.</p> In this example, the <p> tag is a block element that is used to define a paragraph. The entire block of text between the opening and closing <p> tags will be affected by the block element, and it will be rendered as a paragraph by the browser. So, the statement "Block elements affect a small amount of content" is false, as block elements affect the entire block of content within their opening and closing tags.

What is the Python type for storing true and false values? a. Loop b. Boolean value c. String d. Tag

b. Boolean value

What does the <br> function do in HTML? a. Bold b. Break a line c. Brown color d. Bridge gap

b. Break a line

CSS stands for which of the following: a. Carbon Silicon Sulfur b. Cascading Style Sheets c. Corrective Sample Statistics d. Computer Support Styles

b. Cascading Style Sheets CSS is a style sheet language used to control the presentation and formatting of HTML elements on web pages. It provides a number of different options for styling HTML elements, such as color, font, size, and position. CSS enables developers to separate the content of a web page from its presentation, which makes it easier to maintain and update the design of a website. It also allows developers to create consistent styles across multiple pages and devices, which can improve the user experience and the overall design of a website.

When attempting to apply the same declaration to multiple selectors in CSS, what symbol must you use to separate the selector names before the style declaration? a. Hyphen b. Comma c. Colon d. Brackets

b. Comma The comma is used to separate the selector names when attempting to apply the same declaration to multiple selectors in CSS. In CSS, the comma is used to apply the same style declaration to multiple selectors. For example, if you want to apply the same color to multiple elements on a web page, you can use a comma to separate the selector names and apply the style to all of the elements at once. Here is an example of how to use the comma in CSS: p, h1, h2, h3 { color: red; } In this example, the color red is being applied to the <p>, <h1>, <h2>, and <h3> elements. The comma is used to separate the selector names, and it indicates that the same style (in this case, the color red) should be applied to all of the elements. The comma is a crucial part of the syntax in CSS, and it is used to apply styles to multiple selectors.

How do you input the physical image into your code? a. Copy link address and paste it into code with <img src= "insert link" b. Copy image address and paste it into code with <img src="insert link" c. Download the image and insert it into the code d. Moving the file onto the coding

b. Copy image address and paste it into code with <img src="insert link"

What does an href do in HTML? a. Bolds the text b. Creates a link to another page c. Moves you to a specific part on the page d. References where the information comes from

b. Creates a link to another page In HTML, the href attribute is used to create a link to another page. When the link is clicked, the user will be taken to the URL specified in the href attribute. <a href="https://www.example.com">Click here to go to example.com</a>

In CSS, declarations are enclosed within which of the following? a. Parenthesis ( ) b. Curly braces { } c. Double Quotation Marks " " d. Brackets [ ]

b. Curly braces { } In CSS, declarations are enclosed within curly braces. In a CSS stylesheet, declarations consist of a property and a value, which are separated by a colon. The property and value are then enclosed within a pair of curly braces, like this: selector { property: value; } In this example, the "selector" is the HTML element that the declaration applies to, the "property" is the aspect of the element that is being styled, and the "value" is the specific style that is being applied. Declarations are not enclosed within parenthesis, double quotation marks, or brackets.

What is every website structured by? a. CSS b. HTML c. Python d. Java

b. HTML HTML, or Hypertext Markup Language, is a markup language used to create the structure and content of a web page. It is a standard language that is supported by all web browsers, and it is used to define the different elements on a web page, such as the text, images, links, and other media. HTML uses a system of tags to mark up the content of a web page, with each tag representing a different type of element. For example, the <p> tag is used to create a paragraph, the <img> tag is used to insert an image, and the <a> tag is used to create a hyperlink. By using HTML to structure the content of a web page, developers can create a consistent, structured layout that is easy for users to navigate and understand.

In HTML, what is an example of a tag that must be nested inside a block element? a. Table cells b. Images c. Lists d. Paragraphs

b. Images The <img> tag is used to insert an image into an HTML document, and it must be placed inside a block element such as a <div>, <p>, or <td> tag. This is because the <img> tag is an inline element, which means that it is used to add content within a block-level element, rather than creating its own block on the page.

What type of resources can a server respond with? a. Iphone Files b. JSON Files c. APEX Files d. Index Files

b. JSON Files

A _____ is a sequence of characters. a. Algorithm b. String c. Flowchart d. Variable

b. String

What does CSS allow one to add to an HTML? a. Description b. Style c. Numbers d. Texture

b. Style

In HTML, when using the HREF attribute, what does the anchor tag do? a. The anchor tag is used to lock your desired text in place, no matter what. b. The anchor tag is used to create hyperlinks in your web page to other websites, a place on your own web page, files, etc. c. The anchor tag is used to insert pictures into your web page. d. The anchor tag is used to create a list in your web page.

b. The anchor tag is used to create hyperlinks in your web page to other websites, a place on your own web page, files, etc. In HTML, the anchor tag is used to create hyperlinks, which are links that allow users to navigate from one web page to another. The anchor tag is represented by the <a> element, and it must include the href attribute to specify the destination of the hyperlink. The href attribute can be set to the URL of another web page, a file, or a location on the same web page. Here is an example of how to use the anchor tag to create a hyperlink in HTML: <a href="https://www.example.com/">Visit the Example website</a> In this example, the anchor tag is used to create a hyperlink that points to the Example website (https://www.example.com/). The <a> element includes the href attribute, which is set to the URL of the Example website. When the user clicks on the hyperlink, the browser will navigate to the Example website. The anchor tag is an important part of the HTML language, and it is used to create hyperlinks that allow users to navigate between web pages.

What kind of selectors are already existing html tags? a. Class b. Type c. Combinator d. ID

b. Type CSS, a type selector is a pattern that is used to match elements on a web page based on their type (e.g. <p>, <h1>, <div>, etc.). A type selector is represented by the element name, and it is used to match elements of the specified type on the web page. Here is an example of how to use a type selector in CSS: p { property: value; property: value; } In this example, the type selector is represented by the element name (p), which matches all <p> elements on the web page. The selector is followed by a block of style declarations enclosed in curly braces ({}). These style declarations will be applied to all <p> elements on the web page. A type selector is an important part of the CSS language, and it is used to match elements on a web page based on their type.

How can you draw a square using a turtle in python? a. Myturtle.drawsquare b. Use a for statement c. Use an if statement to d. Myturtle.forward(width)

b. Use a for statement # Use a for loop to draw the square for i in range(4): my_turtle.forward(100) my_turtle.right(90) In this example, the for loop is used to repeat the drawing of the sides of the square four times. The forward() method is used to move the turtle 100 pixels in the direction it is facing, while the right() method is used to rotate the turtle 90 degrees after each side is drawn. This results in a square being drawn on the screen. The mysquare.drawsquare and mysquare.forward(width) method calls are not valid in Python. Additionally, the if statement is not used in this example.

How do you represent a list in Python? a. {} b. [] c. () d. <>

b. [] In Python, a list is represented using square brackets []. For example, a list of numbers from 1 to 5 can be represented as [1, 2, 3, 4, 5].

Which of the following is NOT a valid CSS length unit? a. cm b. dm c. em d. mm

b. dm There are several different length units that can be used in CSS, each with a different meaning and purpose. Some of the most commonly used length units in CSS include px (pixels), em (em-height), rem (root em-height), and % (percentage). "dm" is not a recognized length unit in CSS, and it will not be interpreted by a web browser. If you want to specify a length in decimeters, you can use the cm (centimeters) unit, which is a valid CSS length unit. One centimeter is equivalent to 10 millimeters, so you can use the cm unit to specify a length in decimeters by dividing the value by 10. For example, to specify a length of 1 decimeter in CSS, you could use the following value: 10mm.

How do you create a numbered list in HTML? a. use the unordered list tag <ul> </ul> b. use the ordered list tag <ol> </ol> c. use the numbered list tag <nl> </nl> d. use the character list tag <cl> </cl>

b. use the ordered list tag <ol> </ol>

How are commands for styling in CSS enclosed? a. ( ) b. { } c. [ ] d. < >

b. { }

When using CSS to style, what do you put to separate each command? a.) , b.) ; c.) > d.) <

b.) ;

How can you bold text when using HTML? a.) <bold< b.) <b> c.)<//b//> d.)<break>

b.) <b>

How do you end a line of code in Java? a) : b) - c) ; d) }

c) ;

How must a tag be nested? a) (item) (/item) b) </item> <item> c) <item> </item> d) [/item] [item]

c) <item> </item>

Which of the following is not related to making a list in HTML? a) <ol></ol> b) <ul></ul> c) <nl></nl> d) <li></li>

c) <nl></nl> The tag <nl></nl> is not related to making a list in HTML. The other three options, <ol></ol>, <ul></ul>, and <li></li> are all used to create lists in HTML. The <ol> tag stands for "ordered list" and is used to create a numbered list of items. The <ul> tag stands for "unordered list" and is used to create a list of items that are not ordered or numbered, typically displayed with bullet points. The <li> tag stands for "list item" and is used to define each individual item in a list, whether ordered or unordered. It is typically used inside either an <ol> or <ul> tag.

What does the IP address stand for? a) Internal Protocol b) Internet Passage c) Internet Protocol d) Internet Placement

c) Internet Protocol An IP address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. An IP address serves two main functions: it identifies the host or network interface, and it provides the location of the host in the network. IP addresses are usually written and displayed in human-readable notation, such as 192.168.1.1 or 2001:db8::1. These numbers are used by computers to route data across the network and to identify the source and destination of the data.

Which of the following symbols is used to group multiple style declarations to a selector in CSS? a) () b) [] c) {} d) <>

c) {}

you want to style an image with the class name "image1," what is the proper CSS format? a. image1={} b. image1.{} c. .image1{} d. image1{}

c. .image1{}

In HTML, CSS, and Java Script, how can exclude a particular line of code? a. class = exclude b. class = /* c. /*_______________*/ d. */_______________*/

c. /*_______________*/

How many levels of headings are there in HTML? a. 5 b. 2 c. 6 d. 20

c. 6

How are HTML tags identified? a. { } b. ( ) c. < > d. #

c. < > These characters are used to enclose the tag name and any attributes that the tag has. For example, the <img> tag used to insert an image into an HTML document is written as <img>, with the tag name enclosed within the < and > characters. This syntax is used to indicate to the web browser that the text between the < and > characters is an HTML tag, and it should be interpreted and rendered according to the rules of the HTML language. The < and > characters are also used to enclose the content of certain tags, such as the <a> tag used to create a hyperlink, or the <p> tag used to create a paragraph.

What is the correct way to add a comment on HTML a. # b. <insert = comment> c. <!--, --> d. <enter><comment>

c. <!--, --> In HTML, comments are written using the <!-- and --> syntax. For example, the following is a comment that explains the purpose of a particular element in an HTML document: <!-- This is a comment that explains the purpose of the element --> The <!-- and --> syntax indicates to the browser that the text between these markers is a comment and should not be rendered as part of the web page. This can be useful for adding notes and explanations to your HTML code for yourself or others who may read it later.

How to create a hyperlink in HTML? a. <a link = "www.gamingcenter.com"> gamingcenter.com </a> b. <a> www. gamingcenter.com <gamingcenter.com /a> c. <a href = "www.gamingcenter.com"> gamingcenter.com </a> d. <a url = "www. gamingcenter.com" gamingcenter.com /a>

c. <a href = "www.gamingcenter.com"> gamingcenter.com </a> To create a hyperlink in HTML, you can use the <a> element with an href attribute. The href attribute specifies the destination URL for the link.

Which of the following is a break tag? a. <b> </b> b. <break> </break> c. <br> d. <br> <br>

c. <br> In HTML, the <br> tag is used to insert a line break, which is different from a paragraph break (<p>) or a horizontal rule (<hr>). The <br> tag does not have an end tag, so you would not use </br> as shown in the third option. The first and second options are not valid HTML tags.

What is the correct way to add a break in HTML? a. <break> </break> b. <b> </b> c. <br> d. <breakline> </breakline>

c. <br> The <br> tag is an empty tag, which means it does not have a closing tag. It is used to insert a line break in an HTML document. It is used to insert a line break in an HTML document. Here is an example of how to use the <br> tag: This is the first line of text.<br> This is the second line of text. Note that the <br> tag is an inline element, which means it can be used within a block-level element such as a paragraph. It cannot be used to create a new paragraph, for which you would need to use the <p> tag.

Which of the following is a proper header tag for HTML a. /head><head> b. [head][head] c. <head></head> d. "head"(head

c. <head></head>

Which of the following will draw a horizontal line across your webpage? a. <li> b. <br> c. <hr> d. <ul>

c. <hr>

Which tag defines a list item? a. <ul> b. <ol> c. <li> d. <b>

c. <li>

What tag must go in between all list elements in HTML? a. <ul> b. <ol> c. <li> d. None of the above

c. <li> <li> must go in between all list elements in HTML. The <li> tag is used to define an individual list item in an HTML list. It is used to mark the beginning and end of a list item, and it must go in between each item in the list. Here is an example of how to use the <li> tag to create a list: <ul> <li>List item 1</li> <li>List item 2</li> <li>List item 3</li> </ul> This would produce an unordered list that looks like this: -List item 1 -List item 2 -List item 3 Notice that the <li> tag is used to define each individual list item, and the <ul> and </ul> tags are used to define the unordered list. The bullet points are automatically added by the browser.

How do you write ordered lists in HTML? a. Bullet points b. <il> c. <ol> d. <li>

c. <ol>

What HTML tag do you use to make an unordered list? a. <unordered> b. <unorderedlist> c. <ul> d. <list>

c. <ul>

Which of the following will give you an unordered bulleted list? a. <li> <ul> < /ul> </li> b. <li> <ol> </ol> </li> c. <ul> </ul> d. <oli> </ol>

c. <ul> </ul> <ul> </ul> will give you an unordered bulleted list. The <ul> and </ul> tags define an unordered (bulleted) list in HTML. The <li> tag is used to define each individual list item, and the list items are marked with bullet points (small black dots) by default. Here is an example of an unordered list: <ul> <li>List item 1</li> <li>List item 2</li> <li>List item 3</li> </ul> This would produce a list that looks like this: - List item 1 - List item 2 - List item 3 Notice that the <ul> and </ul> tags are used to define the list, and the <li> tags are used to define each list item. The bullet points are automatically added by the browser.

What must all HTML documents start with? a. A <head> tag b. A <br> tag c. A <!DOCTYPE> declaration d. The table header <thead>

c. A <!DOCTYPE> declaration

A(n) _____ is a set of well-defined logical steps that must be taken to perform a task. a. Float b. Boolean c. Algorithm d. Operands

c. Algorithm

What type of selectors are there in CSS? a. Type selectors b. Class selectors c. Both a and b d. None of the above

c. Both a and b

What does DOM stand for in HTML? a. Direction of Motion b. Digital Output Module c. Document Object Model d. Data Output Message

c. Document Object Model In HTML, the DOM (Document Object Model) is a tree-like structure that represents the hierarchical organization of elements in an HTML document. The DOM allows developers to programmatically access and manipulate the contents of an HTML page, which can be useful for creating interactive websites and applications.

What is the tree structure of a webpage called a. Type selectors b. Tag c. Document Object Model (DOM) d. DOCtype

c. Document Object Model (DOM) In HTML, the tree-like structure of a webpage is called the Document Object Model (DOM). The DOM represents the hierarchical organization of elements in an HTML document, such as headings, paragraphs, and links. The DOM allows developers to programmatically access and manipulate the contents of a webpage, which can be useful for creating interactive websites and applications. The DOM is not related to type selectors, tags, or the DOCTYPE declaration in HTML.

Which of the following is not a programing language? a. Python b. C++ c. HTML d. Java

c. HTML It is a markup language, not a programming language.

Which of the following is not an example of a block element? a. Paragraphs b. Lists c. Images d. Table Cells

c. Images

Where is the best place to add style declarations for your webpage? a. In the header for HTML as, color = red b. In the body of HTML as, color = red c. In CSS as, "color: red;" d. In CSS as, color red;

c. In CSS as, "color: red;"

What does IP stand for? a. Internet Portal b. Internet Proxy c. Internet Protocol d. Internet Parameter

c. Internet Protocol

What does "IP" stand for in "IP address? a. Internet Procedure b. Incident Protocol c. Internet Protocol d. Incident Procedure

c. Internet Protocol "IP" stands for Internet Protocol in "IP address". An IP address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. The IP address serves as a unique identifier for each device and allows it to communicate with other devices on the network. The Internet Protocol, or IP, is the network protocol that defines the format and rules for exchanging data over a network using IP addresses. It is a key component of the internet and other networks that use the TCP/IP protocol suite, and it plays a crucial role in enabling devices to communicate with each other across networks.

What does Markup Language describe? a. It describes a unique coding language. b. It describes price sales. c. It describes content. d. It describes sign language.

c. It describes content. A markup language is a type of computer language that is used to describe the structure, content, and semantics of a document. Markup languages use special tags or syntax to annotate the content of a document, and they are typically used to create structured documents, such as web pages, books, articles, etc. Some examples of markup languages are: -HTML: HTML (HyperText Markup Language) is a markup language that is used to create web pages and other structured documents. HTML uses tags to annotate the content of a web page, and it defines the structure, layout, and formatting of a web page. -XML: XML (eXtensible Markup Language) is a markup language that is used to create structured data, such as documents, metadata, etc. XML uses tags to annotate the data, and it defines the structure, content, and semantics of the data. -LaTeX: LaTeX is a markup language that is used to create scientific and technical documents, such as papers, books, theses, etc. LaTeX uses a syntax to annotate the content of a document, and it defines the structure, layout, and formatting of the document. As you can see, markup languages are used to describe the content of a document, and they use special tags or syntax to annotate the content. Markup languages are not unique coding languages, and they do not describe price sales or sign language.

What does the <h1></h1> element do? a. Prints h1 b. It displays regular text c. It is the most important and largest heading d. It is the least important and smallest heading

c. It is the most important and largest heading

Which choice is a list in python? a. List = 5 b. List = "this" + "list" c. List = ["this", "is", "a", "list"] d. List = true

c. List = ["this", "is", "a", "list"]

What does <p> represent and in what language? a. Represents parentheses; Lua b. Represents parenthese; HTML c. Represents paragraph; HTML d. Represents paragraph; CSS

c. Represents paragraph; HTML The <p> tag is one of the core HTML tags, and it is used to create a paragraph of text on a web page. When the web browser encounters a <p> tag in the HTML code, it will interpret the content between the opening <p> tag and the closing </p> tag as a paragraph of text, and it will render the paragraph according to the default styles for the <p> tag. This means that the text will be displayed on its own line, with a blank line above and below it, and it will be formatted according to the font, size, and color settings of the browser.

Which symbol is used to separate style declarations within the same block when using CSS? a. Colon b. Backslash c. Semicolon d. Underscore

c. Semicolon Semicolon is used to separate style declarations within the same block when using CSS. In CSS, the semicolon is used to separate multiple declarations within the same block of code. For example, if you want to apply multiple styles to a particular element on a web page, you would use the semicolon to separate the different declarations. Here is an example of how to use the semicolon in CSS: p { color: red; font-size: 12px; font-weight: bold; } In this example, three styles are being applied to the <p> element: the text color is set to red, the font size is set to 12 pixels, and the font weight is set to bold. Each style declaration is separated by a semicolon, which tells the browser to apply the next declaration after the previous one has been applied. The semicolon is a crucial part of the syntax in CSS, and it is used to separate declarations within a style block.

Choose a CORRECT one from below about LIST in HTML a. Ordered List: <ol> <list> item 1 <list> item 2 </ol> b. Ordered list: <li> <ol> item 1 </ol> <ol> item 2 </ol> </li> c. Unordered list: <ul> <li> item 1 </li> <li> item 2 </li> </ul> d. Unordered list: <li> <ul> item 1 </ul> <ul> item 2 </ul> </li>

c. Unordered list: <ul> <li> item 1 </li> <li> item 2 </li> </ul>

Which is FALSE about CSS Frameworks? a. CSS can be difficult b. Bulma is a CSS framework c. We cannot link to a CSS file on another server d. They're pre-written classes we can apply to pages

c. We cannot link to a CSS file on another server In CSS, you can link to a CSS file on another server by using the @import rule. The @import rule is used to import a style sheet into another style sheet, and it allows you to use the styles defined in the imported style sheet in your current style sheet. The @import rule is useful when you want to use a style sheet that is hosted on another server, and you want to import that style sheet into your current style sheet. Here is an example of how to use the @import rule in CSS to import a style sheet from another server: @import url("https://otherserver.com/style.css"); In this example, the @import rule is used to import the style sheet (style.css) from the server (https://otherserver.com/style.css). The @import rule takes the URL of the style sheet as an argument, and it imports the style sheet into your current style sheet. After the @import rule is executed, you can use the styles defined in the imported style sheet in your current style sheet. The @import rule is an important part of CSS, and it allows you to import a style sheet from another server into your current style sheet. Therefore, the statement "We cannot link to a CSS file on another server" is false.

What character does the closing of a tag in HTML represent? a) ! b) . c) \ d) /

d) / / represents the closing of a tag in HTML. In HTML, tags are used to define the structure and formatting of a web page. Each tag has a specific name, and it is identified using angle brackets, < and >. For example, the <p> tag is used to define a paragraph, and the <h1> tag is used to define a heading. In order to properly define a tag, it must be opened and closed using the same tag name. The opening tag is defined using the tag name surrounded by angle brackets, and the closing tag is defined using the tag name preceded by a forward slash and surrounded by angle brackets. Here is an example of how to properly define a tag in HTML: <p>This is a paragraph.</p> In this example, the <p> tag is opened and closed using the same tag name. The opening tag is defined using <p>, and the closing tag is defined using </p>. The forward slash in the closing tag indicates that it is the closing tag for the opening <p> tag. This is the correct way to define a tag in HTML, and it is important to properly open and close tags in order to properly structure and format the content of a web page.

What is the correct "special closing tag" for HTML? a) " b) # c) + d) /

d) / In HTML, a closing tag is a special syntax that is used to indicate the end of an HTML element. A closing tag is always represented by a forward slash (/) followed by the element name, and it must be placed after the content of the element. Here is an example of how to use a closing tag in HTML: <p>This is a paragraph of text.</p> In this example, the closing tag is used to indicate the end of the <p> element, which represents a paragraph of text. The closing tag is represented by the forward slash (/) followed by the element name (p), and it is placed after the content of the paragraph. This tells the browser that the paragraph of text has ended, and that any subsequent content should be treated as a new element. A closing tag is an important part of the HTML language, and it is used to indicate the end of an HTML element.

What "styles" can CSS add to HTML? a) Margin spacing b) Font weight c) Border style d) All of the above

d) All of the above Some of the many styles that can be added to an HTML page using CSS include: Margin spacing: CSS allows you to specify the amount of space to be left around the outside of an element, such as a paragraph of text. This is known as the margin. Font weight: CSS allows you to specify the weight, or boldness, of the font used to display text on a web page. Border style: CSS allows you to specify the style, color, and width of the borders around elements on a web page. These are just a few examples of the many styles that can be added to an HTML page using CSS. Other styles include font size and color, background color and images, text alignment and indentation, and much more. CSS is a powerful tool that allows web designers to create beautiful and functional websites.

What must all HTML documents start with? a. a title b. your name c. <head> d. <!DOCTYPE> Declaration

d. <!DOCTYPE> Declaration

What are Bulma buttons able to accomplish? a. Change the size b. Inverted c. Rounded d. All of the above

d. All of the above Bulma buttons are able to accomplish change the size, inverted, and rounded. Bulma is a free and open-source CSS framework that provides a set of pre-defined styles and components for building web applications. One of the components provided by Bulma is a button. The Bulma button allows developers to create buttons with a variety of different styles and options. For example, the button can be changed in size using the "is-small", "is-medium", or "is-large" classes. It can also be inverted using the "is-inverted" class, and it can be made rounded using the "is-rounded" class. These and other classes can be applied to the button element in order to customize its appearance and behavior. Here is an example of how to create a Bulma button: <button class="button is-small is-inverted is-rounded">Click me!</button> This would create a small, inverted, and rounded button that says "Click me!".

Which one is not a selector? a. Type selectors b. Class selectors c. ID selectors d. Body selectors

d. Body selectors In CSS, a selector is a pattern that is used to match the elements on a web page that should be styled using a specific set of style declarations. There are several types of selectors in CSS, and they are used to match elements based on different criteria, such as their type, class, ID, or attributes. The four types of selectors in CSS are: -Type selectors: These selectors match elements based on their type (e.g. <p>, <h1>, <div>, etc.). -Class selectors: These selectors match elements based on their class attribute (e.g. .classname). -ID selectors: These selectors match elements based on their ID attribute (e.g. #idname). -Attribute selectors: These selectors match elements based on their attributes and attribute values (e.g. [attribute=value]). As you can see, body selectors is not a type of selector in CSS. The four types of selectors in CSS are type, class, ID, and attribute selectors, and they are used to match elements on a web page based on different criteria.

Which of the following ARE correct tags used in HTML? a. Block elements b. DOM c. Inline elements d. Both A & C

d. Both A & C In HTML, there are two types of elements: block elements and inline elements. A block element is a type of element that is used to create a block of content on a web page. Block elements are usually larger and more visible than inline elements, and they affect the entire block of content that they enclose. Some examples of block elements in HTML are: - <h1>: The <h1> tag is used to create a level-1 heading on a web page. - <p>: The <p> tag is used to create a paragraph of text on a web page. - <div>: The <div> tag is used to create a container element on a web page. - <ul>: The <ul> tag is used to create an unordered list on a web page. As you can see, block elements are tags used in HTML, and they are used to create a block of content on a web page. On the other hand, an inline element is a type of element that is used to create an inline element on a web page. Inline elements are smaller and less visible than block elements, and they affect only the content that they enclose. Some examples of inline elements in HTML are: - <a>: The <a> tag is used to create a hyperlink on a web page. - <strong>: The <strong> tag is used to create bold text on a web page. - <em>: The <em> tag is used to create emphasis text on a web page. - <img>: The <img> tag is used to insert an image on a web page. As you can see, inline elements are also tags used in HTML, and they are used to create an inline element on a web page. In conclusion, both block elements and inline elements are correct tags used in HTML.

In CSS, there are multiple kinds of selectors. Which of the following is not a kind of selector? a. Type selector b. Class selector c. ID selector d. Bulma Selector

d. Bulma Selector In CSS, there are three main types of selectors: type selectors, class selectors, and ID selectors. Type selectors match elements based on their type, such as p for paragraph elements or a for anchor elements. Class selectors match elements based on the value of their class attribute, and ID selectors match elements based on the value of their id attribute.

Which of the following accurately defines this styling tag: <b>? a. Default italics b. Default underline c. Default blue font color d. Default bold

d. Default bold <b> is the correct way to bold text in HTML. The <b> tag is used to mark the beginning and end of a span of text that should be rendered in bold. The text between the opening and closing tags will be bolded by the browser. Here is an example of how to use the <b> tag: <b>This text will be bold.</b> The text "This text will be bold" will be rendered in bold by the browser. Note that the <b> tag is an inline element, which means it can be used within a block-level element such as a paragraph. It cannot be used to create a new paragraph, for which you would need to use the <p> tag.

In CSS, the _____ tells the browser which element(s) to apply the style declarations to a. Declarer b. Nominator c. Styler d. Selector

d. Selector In CSS, the selector tells the browser which element(s) to apply the style declarations to. In CSS, a selector is a pattern that matches the elements on a web page that the style declarations should be applied to. The selector is specified before the style declarations, and it is used to identify the elements that the styles should be applied to. For example, to apply a style to all <p> elements on a web page, you would use the following code in your stylesheet: p { color: red; } In this example, the selector is "p", which tells the browser to apply the style declarations (in this case, the color red) to all <p> elements on the page. The selector is a crucial part of the syntax in CSS, as it specifies which elements the styles should be applied to. Different types of selectors are available in CSS, including element, class, and ID selectors, which can be used to target specific elements on a page and apply styles to them

Which symbol is used in separate JavaScript statements? a. Comma (,) b. Colon (:) c. Hyphen (_) d. Semicolon (;)

d. Semicolon (;)

What is not an example of a CSS style declaration? a. Position b. Opacity c. Font family d. Transparency

d. Transparency In CSS, a style declaration is a rule that specifies how an element should be styled and rendered on a web page. This includes properties such as the position, color, font, and size of the element, as well as its visual effects, such as its background, borders, and shadows. Some examples of CSS style declarations include the position, color, font-family, and opacity properties.

What is the full range of tags that create headlines on a page? a. h1-h3 b. h1-h4 c. h1-h5 d. h1-h6

d. h1-h6 h1-h6 are the tags that create headlines on a page. In HTML, the <h1> to <h6> tags are used to create different levels of headings on a web page. The <h1> tag represents the largest and most important heading, and the <h6> tag represents the smallest and least important heading. Headings are used to organize the content of a page and to indicate the hierarchy of information on the page. For example, the <h1> tag is typically used for the main heading of the page, while the <h2> tag is used for subheadings and the <h3> tag is used for sub-subheadings, and so on. Here is an example of how to use the <h1> to <h6> tags to create headings on a web page: <h1>Main heading</h1> <h2>Subheading</h2> <h3>Sub-subheading</h3> <h4>Sub-sub-subheading</h4> <h5>Sub-sub-sub-subheading</h5> <h6>Sub-sub-sub-sub-subheading</h6> This would create six levels of headings on the page, with the <h1> heading being the largest and most important, and the <h6> heading being the smallest and least important. Headings are a useful way to organize and structure the content of a web page, and they are typically used to create a clear hierarchy of information on the page.

Which of the following files is typically used to style an HTML webpage? a. main.py b. README.txt c. README.md d. style.css

d. style.css A file named style.css is typically used to style an HTML webpage. CSS, or Cascading Style Sheets, is a stylesheet language that is used to define the visual appearance of web pages. When creating a CSS stylesheet, the file is typically saved with a .css extension, such as "style.css". This file can then be linked to an HTML document, allowing the styles defined in the stylesheet to be applied to the elements on the page. In this way, the style.css file is used to style the HTML webpage. The main.py, README.txt, and README.md files are not typically used for this purpose.

How can you add comments on HTML? a.) <! !> b.) # c.) // d.) <!>

d.) <!>

What is the abbreviation for table cell in HTML? a.) <tr> b.) <th> c.) <tc> d.) <td>

d.) <td>


Ensembles d'études connexes

EMT chapter 26- Soft Tissue Injuries 2

View Set

PARA 470: Test #4 (Social Security)

View Set