About This Video
This video is
Getting started with CSS. See http://webprog.halavais.net
100%
(13:00)
a
(13:00)
and
(7:29)
basic
(7:29)
because
(13:00)
by
(16:12)
class
condues
(13:00)
CSS
(7:29)
css
different
(7:29)
does
(13:00)
enthralled
(16:12)
from
(7:29)
how?
(7:29)
I
(13:00)
if
(7:29)
is
(7:29)
(7:29)
it
(13:00)
lecture
(16:12)
lines
(13:00)
little
(13:00)
necessary.
(13:00)
of
(13:00)
own
(16:12)
said
(13:00)
seem
(16:12)
seperate
(13:00)
so
(7:29)
span
(13:00)
strict?
(7:29)
structure
(7:29)
text?
(13:00)
that
(7:29)
the
(7:29)
(13:00)
to
(13:00)
was
(13:00)
wasnt
(13:00)
webprog-2-b
(8:24)
what
(7:29)
work
(13:00)
you
(13:00)
(16:12)
your
(16:12)
This website uses Adobe® Flash™ Player 9
Download Flash Now
If you are using Internet Explorer, you will need to restart your browser
after installing Flash.
Adobe and Flash are registered trademarks of Adobe Systems incorporated.
All rights reserved.
avsphan2002 (7:20)
10 months ago 0 + -what is the difference in strict and do we have to follow th alternative more often than the strict?
halavais (7:20)
10 months ago 0 + -We will, generally, be following strict. The difference is that "transitional" gives you a little more wiggle-room. The main reason you might want this wiggle-room is when you dump other people's code in your own. It's hard to know whether someone else's (e.g., YouTube) "embed" code will be valid--but in many cases it is not.
avsphan2002 (13:01)
10 months ago 0 + -can span be used to break up paragrahs? I was a bit confused as you said that its validity was in question in this setting.
halavais (13:01)
10 months ago 0 + -Depends on what you mean by "break up" :). Span is used to be able to indicate segments INSIDE a block. So, for example, if you wanted to use a class to label each name of an author, and do something special with that, you could use span. If you used div, it would bump it off to a new line...
avsphan2002 (16:22)
10 months ago 0 + -you seem to be enthralled by your own lecture.
halavais (16:22)
10 months ago 0 + -Not sure I am EXACTLY sure what you mean, but I often find myself enthralled by myself... :).
avsphan2002 (22:04)
10 months ago 0 + -what are some that are not on different OS's? an examples?
halavais (22:04)
10 months ago 0 + -The classic example here is Helvetica, which still ends up being distributed with Mac, but not PC. Some googling will give you lists of PC & Mac standard fonts. Since there are a lot of linux distributions, no way to know in that case, and although there are other OSs, that covers 99% of web users. But remember, serif, sans-serif, fantasy, and cursive are the default fonts available on *any* browser.
avsphan2002 (26:33)
10 months ago 0 + -is all this being found using firebug?
halavais (26:33)
10 months ago 0 + -This is all via firebug, yes.
wp-sarah... (8:24)
10 months ago 0 + -Are meta tags also used to make some sites, videos, anything related to the web become "viral"?
halavais (8:24)
10 months ago 0 + -Not so much. Meta tags are mainly to make sure you put your best foot forward to search engines.
wp-caruso (20:26)
10 months ago 0 + -I just want to make sure I understand this - We create the .css file so that all the style will be applied accordingly to each and every page of html. But where do we put the .css file exactly? Just in the same directory as the index.html file? Or is there a special place we need to put it?
halavais (20:26)
10 months ago 0 + -That's right, in the same directory as index.html. (For now; in fact, it can go anywhere on the server.) You link to it in a way analogous to linking to images, but using the link tag instead of the img tag.
boonec (24:13)
10 months ago 0 + -When a company wants to protect its logo font (i.e. Got Milk?, ESPN, etc.) how is that coded without making it available to the general public via, say an application like Firebug?
halavais (24:13)
10 months ago 0 + -It isn't :). In those cases, you have to save it as an image. But of course, this doesn't protect it either. Anyone can download and use these fonts and images.
boonec (24:13)
10 months ago 0 + -I noticed a short while ago that there were sites that were selling the fonts to popular company brands like those aforementioned. I was curious as to how they were accessing the fonts and how companies could protect themselves if they so desired. Thanks for the info.
kleehoward (1:24)
10 months ago 0 + -What do you mean by "cascading" stylesheets?
halavais (1:24)
10 months ago 0 + -Style sheets are said to "cascade" because multiple styles can be asserted at different point along the HTTP process. The author might provide several styles that apply to an element, and the reading device and user can apply further styles, if they wish. All of these interact, with the most local rules taking precedence, and then turning to increasingly distant rules to find one that applies.
kleehoward (12:34)
10 months ago 0 + -not sure what the are meant to accomplish here...
halavais (12:34)
10 months ago 0 + -I'm assuming the comment ate your "div" in the above. A div is basically a way of identifying and labeling a block of text.
kleehoward (15:08)
10 months ago 0 + -What is a page header?
halavais (15:08)
10 months ago 0 + -It's just a name I made up. I want to name each of these chunks of text. I could have called it (via id=) "peanut." But since I plan on using this chunk as a header, calling it "header" makes sense...
kleehoward (16:41)
10 months ago 0 + -Is "footer" a normal part of coding?
halavais (16:41)
10 months ago 0 + -Footers are frequently found on sites, if that's what you mean. Often they have contact information or credits.
kleehoward (17:24)
10 months ago 0 + -What is the advantage of using ?
halavais (17:24)
10 months ago 0 + -Well, drat, definitely ate your tag on that one, and I cannot guess...
kleehoward (19:42)
10 months ago 0 + -What do you mean by "looking at" one individual line? What does it actually do?
halavais (19:42)
10 months ago 0 + -"Looking at" was perhaps a poor choice of wording. "Identify" is what I should have said.
In other words, we label these things so that when we get to the CSS, we have something to "address." Otherwise, how would you identify pieces? I guess you could say "this style applied to lines 5-10 of the index.html page" but that would be more difficult and far less powerful. So, we identify each piece of the HTML page we want to be able to apply styling to.
wp-megan (8:24)
10 months ago 0 + -When is it necessary to use 'div?" Each time you intend to use CSS? Or only if you're using CSS to include certain design elements on your webpage?
halavais (8:24)
10 months ago 0 + -So, "div" is used when you want to get a "handle" on some part of the page so that you can apply styles to it. Sometimes, the part of the page you want to apply stuff to already aligns perfectly with a tag. So, for example, if you want to apply a style to the whole page, you can just use "body", you don't need to set up your own div. But in many (most?) cases, you are trying to define a chunk of the page that isn't already defined by a unique HTML tag.
wp-megan (21:29)
10 months ago 0 + -Here's a link showing what various fonts look like: http://www.wavian.com/font-list.html
barackberry (18:59)
10 months ago 0 + -yes, daunting
kellyuttg... (3:19)
10 months ago 0 + -Like the authors of the book HEAD FIRST HTML explain, it's easier to learn how the markup works after you've seen what it can do.
katiemc (23:09)
9 months ago 0 + -Here's a link to a page that lists the colors and displays the various hues: http://www.w3schools.com/css/css_colorsfull.asp