General Flashcards
Define HTML5
More lacks than the other markup languages, new features: new elements(),full css3 spprt, 2d/3d graphics, SQL db,new attributes, video & audio, canvas, local strg, web applications, support all major browsers, application cache, web worker-JavaScript
Define semantic
Giving words meaning..
Define block level elements
Requires there own line…
What is a span element
Single line elements<span></span>
Define <a>anchor tag</a>
Allows u to jump to other websites are other web pages<a></a>
Define <img></img>tag structure
<img></img>
Define “legend”
Point or focus one to input field
Define “fieldset”
Use to group related inputs
Purpose of a “label”
To focus in on the input
What the different between “Get & Post” Method?
The Get has a query Post does not..security issues
Define Dynamic
Web pages that respond to user request through buttons or other kinds of controls
Define DHTML
Refers to a combinations of technologies that make web pages dynamic.. A combination of JavaScript ,XHTML, CSS , and the DOM
Define attribute
Adding additional info
What is the “src”
Tells the browser where it can find the image file
Define the “alt” attribute
This provides a text description of the image which to describe image if you cannot see it
Explain “ title “attribute
Used to provide additional information about the image… When the mouse hooves over the image a tool tip is provided
How are links created
By using the <a>tag..</a><a></a>
What is a relative URLs description
I
Relative link type “ same folder”structure/layout
Relative link type “child folder”structure/layout
<a></a>
Relative link type “parent folder”structure/layout
<a></a>
Relative link type “grandparent folder”structure/layout
<a></a>
How do you write a link
<a>IMBD</a>
Define the <a> tag “href” attribute</a>
The page that you want people to go to when they click on the link
The define the universal selector * { }
Targets all the elements on the page
Defining the” type “selector
Targets a particular tag (eg H1 H2and H3 element)
H1, h2, h3 { }
Define the” class “selector .note { }
Target any element whose class attribute has a value of .note { }
The find the ID selector #introduction { }
Targets the elements who’s ID attribute has a value of introduction
Define the child selector .
li>a { }
Target any <a> elements that are children of the <li>element but not other <a>elements in the page</a></li></a>
Explaining the descendent selector.
P a { }
Target any <a> elements that sits inside a <p>element , even if they are other element nested between them</p></a>
Define the adjacent sibling selector.
H1+p { }
Target the first <p>elements after any </p><h1>elements but not other </h1><p>elements</p>
Defined the general sibling selector.
H1~p { }
If you had two<p>elements that are sibling of an </p><h1>element. This rule would apply to both</h1>
Define DOCTYPE
It tells the browser which version of HTML pages using
What is the symbol
Comment symbol
What is a element
Opening & closing tags
+content =Element
Define non semantic
Elements w meaningWords w/o meaning <div> needs & <span> to make sense out of the div tag</span>
Relative link type “grandchild folder”structure/layout
<a></a>
How do u link style sheets
Define “class”
Allows it to be added to many tags identifiers on a web page….more general <div class="red"></div>
Define “div”
Allow only one unique identifier name adding per web page …more specific
<div></div>
Define a css rule
It’s has a selector & declaration
P { font-family: Arial; }
Explain selector
Indicate which element the rule applies to
Purpose of a declaration
Indicates how the elements referred to in the selector should be styled
What is properties
Indicate the aspects of the element you wants to change
Define values
Specify the setting you want to use for the chosen properties
Defined relative positioning
This moves an elements from the position it would be in the normal flow shifting it to the top ,right ,bottom, or left of where it would have been placed
Define absolute positioning
This positions the elements in relation to its containing element
Define fixed positioning
This is a form of absolute positioning that position element in relations to the browser window as opposed to the containing element
Define floating elements
Floating element allows you to take that element out of normal flow and position it to the far left or right of a containing box
Explain “Z-index”
When you move any element from the normal flow ,boxes can overlap the blank property allows you to control which box appears on top
Differences between display:none & visibility:hidden
Display “none “removes element, and remove space..,visibility”hidden” mask a element, but preserve the space…
Explain “rel” attribute
Specifies the relationship between the HTML page and the file It is link to
What is the “href “attribute
This specifies the path to the CSS file
What is the “type” attribute
Specifies the type of document being link to ( text/css)
explain
Use the place CSE’s rules within an HTML page by placing them inside the style element… Which sits inside the head element
How do a browser determine specificity
Tag 1pt,class 10pts,ID 100pts, inline styles 1000pts
What is clear
The clear property allows you to say that no element (within the same containing element )to touch to left or the right hand side of the box
Define z-index
When you use relative ,fixed, or absolute positioning boxes can overlap
A site success
1-objective 2-content 3-usability 4-aesthetics 5-accessibility 6-development
What is border box
An element that shrink the container inward