HTML and XML

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

What are three different ways that you can add styles to an HTML document

"Add the style inline by setting the value of the element's style attribute. Define styles within the document between <style> tags Lastly, import an external style sheet in the <link> tag in the <head>"

What is XML?

Extensible Markup Language; used to store and transport data

What is a <p> tag?

It is a paragraph tag

What does an HTML page require?

It requires the html, head, and body tags?

How would you make a table in an HTML page?

Use the <table> tag, using <tr> tag for a new row and either <th> for header cells and <td> for regular cells

How would I add a link to another HTML document in the current HTML document?

Use the anchor <a> element and set the attribute 'href' to the filepath or URL of the page.

What is Well-formed XML?

When XML tags are syntactically and structurally correct

What is Valid XML?

When XML tags follow an existing schema (or XSD)

What is an attribute?

a characteristic of a page element

What is metadata?

a set of data that describes and gives information about other data.

How would you render HTML5 where browsers cannot support it?

Import HTMLShiv or another API to allow it to render

What are some of the <form> attributes that you can set for the form?

action = path to a back-end operation to process the data passed by the form method - The HTTP method used to send the request, most frequently 'GET' and 'POST'

What are three types of list tags you can use on an HTML document?

<ul> - Unordered list with plain bullets <ol> - Ordered list using a numbering scheme to list items <dl> - Definition list - Arranges your items in alphabetical order

Three examples of non-well-formed XML

Case sensitive, not nesting tags properly,not closing tags

What is contained in the body element?

Contains our content for the webpage

What is contained in the head element?

Contains our metadata

What is the <link> tag?

Defines a link between a document and an external resource.

What is the <title> tag?

Defines a title in the tab of the browser

Element vs Tag

Element: involves opening and closing tags with content in between. Tags: A single chevron followed by a closing chevron

HTML vs XML

HTML: display data; XML: stores and transport data

What is HTML?

Hyper Text Markup Language; used to display and structure data

What are the four core attributes of HTML attributes

Id, Title, Class, and Style

How can XML be valid and invalid?

If it follows one schema but be invalid on another.

What is the difference between local storage and session storage strictly from HTML?

Local Storage: Saved on the computer and will last indefinitely or until told to delete Session Storage: Temporary. Lasts until page is closed.

What is XSD?

XML Schema Definition; specifies how to describe the elements on an XML page

Does a valid XML document need to be well-formed?

Yes, but a well formed document does not be to be valid.

What are some different values that you can assign to the <input>'s type attribute and what data can you collect?

text - Sets the value of the input element equal to the text entered password - Masks the input of the text entered into the text box, but the value of the input attribute is equal to the text entered. radio - Allows you to select only one of several possible values to assign to the value attribute. checkbox - Allows you to set the value of the input element to 'on or off


संबंधित स्टडी सेट्स

Chapter 6 - The Proteins and Amino Acids

View Set

New Venture Finance Exam 2 (Set 2)

View Set

Chapter 24: GENOMICS II - FUNCTIONAL GENOMICS, PROTEOMICS, AND BIOINFORMATICS

View Set

Anatomy of the Head & Neck - Chap. 3 Skeletal system

View Set