Shared Flashcard Set

Details

CSE 134B
Summer 2012
47
Computer Science
Undergraduate 1
07/16/2012

Additional Computer Science Flashcards

 


 

Cards

Term

__________is information added to a text document to 

indicate the structure and potentially format of that 

information.  

Thus a marked-up document contains: 

1. data  

2. information about that data  

Definition
Markup
Term
What does !DOCTYPE do?
Definition

Using the <!DOCTYPE> declaration allows validation 

software to identify the DTD being followed in a 

document, and verify that the document is syntactically 

correct—in other words, that all tags used are part of a 

particular specification and are being used correctly. 

Term
Tag Soup 
Definition

In Web development, "tag soup" refers to formatted markup written for a web page that is very much like HTML but does not consist of correct HTML syntax and document structure.

Term

What does pre tag do?

 

Definition

Format text. Text in a <pre> element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks.

Term

<img src=“test.gif”> is the same as <img SRC=“test.gif”> under HTML 

<img src=“test.gif”> may not be same as <img src=“TEST.GIF”>

 

 

True or False?

Definition
True
Term

HTML is ______________ and xml is _____________(permissive, fail on single error)

 

Definition
permssive, fail on a single error 
Term

Markup languages often come in two camps:________ and  __________

 

 

 

 

 

Definition
Presentational and Structural
Term
What does Presentational and strucutral means?
Definition

– Presentational – how something looks

– Structural – what something is or how it is structured

Term

What is a key point in markup language study?

 

Definition

It is the idea of

separation from content structure and presentation

Term
what does WYSIWYG mean in the computer world?
Definition
what you see is what you get 
Term

what does DTD  mean?

And what does it do?

Definition

Document Type Definition. 

 

 

 

 

In the case of SGML you declare the structure of

a particular type of document including its

allowed elements, attributes in entities in a file

called a Document Type Definition or DTD

Term

Validation is well known in SGML and XML, but

not so well in HTML which seems obvious given

HTML’s history. (true or false)

Definition
True
Term

what does – HTML 

and XHTML  means?

Definition

– Hypertext Markup Language

– Extensible Hypertext Markup Language

Term
XHTML is not stricter version of HTML. true or false
Definition
false 
Term
What are the main three elements for html strcutre?
Definition

elements, entities and text fragments

Term

Under XHTML attribute values are always required so <hr

noshade=“noshade” /> would be the correct XHTML syntax.

 

 

True or false 

Definition
True
Term
what is <!DOCTYPE>? 
Definition

It is a statement indicates the particular version of HTML or XHTML

being used in the document.

Term
HTML was defined as an application of the ___________________________
Definition

Standard Generalized Markup Language

(SGML)

Term

SGMAIL --> html

xml--> xhtml   

 

True or False 

Definition
True
Term
for what frames are used ?
Definition

Frames replace the body with a frameset

element to indicate the sub-frames. can have different attributes, such as border, scrolling, the ability to resize, etc.

Term
For what <noframes> is used?
Definition
The <noframes> tag is a fallback tag for browsers that do not support frames. It
Term
How  <!DOCTYPE> is useful for browsers?
Definition

Using the <!DOCTYPE> declaration allows validation

software to identify the DTD being followed in a

document, and verify that the document is syntactically

correct—in other words, that all tags used are part of a

particular specification and are being used correctly.

Term
Tag Soup?
Definition
HTML page that have wrong syntax. 
Term
What head tags can have inside?
Definition
title, base, link, script, link, style  object, meta
Term

(X)HTML is sensitive up to a single white space character.

True or False

Definition
True
Term

HTML is case sensitive, XHTML is

– <b>, <B> are  not the same under HTML 

 

True or False

Definition
False
Term

HTML/XHTML attribute values may be case sensitive

– Mostly related to URL values

– <img src=“test.gif”> is the same as <img SRC=“test.gif”> under HTML

– <img src=“test.gif”> may not be same as <img src=“TEST.GIF”>

 

 

 

True or False

Definition
True
Term
What does the main reason of using <pre> and <textarea> tags?
Definition
To change the rules of the white space.
Term

(X)HTML elements should be crossed not nested.

True or False

Definition
False
Term

A strict version of markup, XHTML in fact is

rarely done correctly.

 

True or False

Definition
True
Term

adding HTML5 doctype means xhtml isn't used.

True False

Definition
False
Term

HTML5 won’t be ready until 2022 anyway

True or False

Definition
True
Term
What is the different between doctype of html5 and xhtml
Definition

xhtml indicate dialect

and DTD of the markup language in use

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

 

 

While html5  

HTML5 doesn’t really follow this pattern

<!DOCTYPE html>

Term

you can use strict XML ideas under HTML5.

True or False

Definition
True
Term
MIME = ?
Definition
not a detail – core concerns
Term
What is contenteditable? (three points)
Definition

• IE introduced feature that is now commonly

implemented in browsers

• When set to true allows simple editing of

content in browser

• Does not determine how the change is retained

Term
What does data-x Attributes do?
Definition

Allows for user-defined meta data

– Reduces name collision problems

– Removes overloading of class attributes or invention

of non-standard attributes

Term
how  draggable Attribute is used?
Definition

This attribute is set to true or false to indicate if

an element is draggable or not.

Term
hidden Attribute
Definition

This attribute indicates if an element is no

longer relevant and should be hidden or not

Term
What <output> is used for?
Definition

<output> is used to define a region that

will be used as output from some

calculation or form control

Term
<Keygen> is _____________________________________________. 
Definition

<keygen> - a Netscape tag for key – pair generation that

lives on in some high security environments

Term
what is <wbr> used for? 
Definition

word break – a hint for word breaking that is

widely supported and from Netscape.

Supporting users have an ad free experience!