Byte-Sized-Chunks: Cascading Style Sheets (CSS) with HTML

Use CSS to make a spectacular difference to the appearance of your webpages!
4.3 (17 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,321 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 28
  • Length 4 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2016 English

Course Description

Note: This course is a subset of our much longer course 'Learn By Example: HTML, CSS and Javascript' so please don't sign up for both:-)

  • Relatively few folks formally learn HTML or CSS, because its quite easy to get stuff done in these technologies in a "quick-and-dirty way".
  • That "quick-and-dirty" way of learning and doing leads to problems over time, because CSS is actually quite complex, so it is easy to do things the wrong way
  • This course will help, because it has 20 examples. Each is self-contained, has its source code attached, and gets across a simple, specific use-case. Each example is simple, but not simplistic.

What's Included:

  • Basic HTML: Folks stopped counting HTML as a language worth formally learning sometime in the 90s, but this is only partially justified. It always helps to have strong basics.
  • CSS: Cascading Stylesheets are incredibly powerful, and incredibly hard to use - until you know how they really work. Once you understand inheritance and selection in CSS, it will all make a lot more sense.

Talk to us!

  • Mail us about anything - anything! - and we will always reply :-)

What are the requirements?

  • Any modern browser and a simple text editor are all that will be needed.

What am I going to get from this course?

  • Understand HTML - its structure, and the commonly used tags
  • Utilise CSS, including inheritance, selectors, the box model - the very topics that make CSS hard to use

What is the target audience?

  • Nope! Please don't enroll for this class if you have already enrolled for our 13-hour course 'Foundations of HTML, CSS and Javascript' course
  • Yep! Folks who are absolutely new to web programming, and wish to learn HTML and CSS from scratch
  • Yep! Folks that struggle with getting the appearance of their webpages just right, despite knowing HTML

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: CSS and HTML
You, This Course, and Us!
Preview
01:04
09:15
HTML specifies the structure of a web page and CSS how the page looks i.e. the presentation.
12:33
Plunge right in, set up a simple page and get introduced to a whole bunch of HTML tags.
06:43
What's an HTML page without style? Get to know the HTML <style> tag and how it can be used to specify style properties to make your pages look good.
08:18
The internet is all about links. Who links to you and who do you link to? In this lecture we'll learn how we link to others using the <a> tag and its href attribute.
05:39
Paths in HTML can reference resources on our server as well as resources anywhere on the web. Relative paths are relative to the location of the HTML file and absolute paths can access resources on any server.
06:33
HTML provides a whole bunch of quote tags. Learn about the <q> and the <blockquote> tags and why we would use them over specifying quotes ("") in text.
07:52

Bulleted lists and numbered lists. HTML has special <ul> and <ol> tags to specify these. Each list item in an <li> tag should go with either an un-ordered list (<ul>) or an ordered list (<ol>).

02:32
The <em>, <time>, <strong> and <code> tags.
11:01
Understand the different parts of a domain name and what they represent. Revisit the <a> tag and learn some more about how we can open up a new web page in a new window, tab etc.
10:38
The <img> tag allows you to embed inline images in your page. You can also resize images using the height and width attribute of the <img> tag.
03:17
HTML is a living standard now. No more version numbers and everything will be backward compatible from here on in. This is a pretty big deal!
Section 2: CSS
08:23
Get re-introduced to CSS and see how CSS files are set up separately from the HTML and linked to the HTML page. It's good practice to separate the CSS and HTML files so both can be worked on separately.
07:28
CSS styles inherit from the parent element, or do they? CSS inheritance is tricky and it's important to know how a certain style is applied on an element. This lecture should have the answers.
09:59
How do you apply styles to specific HTML elements? You select them. How do you select them? By specifying the tag, a CSS class or their unique identifier.
10:08
Understanding sans-serif fonts, fallback options on a webpage, using fonts from free services such as Google etc.
03:38
How to change text color, background colors and specify colors using their hex code.
11:54
Understand margins, padding and borders and where exactly they apply. They form the CSS box model which has tripped up many an aspiring web developer.
07:55
The <div> is a block element which is used to logically group HTML elements. The logical components can then be styled together.
08:21
Figure out why the "cascade" exists in Cascading Stylesheets.
02:55
The <span> allows logical grouping of inline elements and is a perfect partner to <div>.
02:59
CSS allows you to apply styles to not just HTML elements but also specific states of an element. The :hover, :focus, :link are all examples of states of a particular element.
Normal Rendering Flow Of The Browser
15:00
09:42
The CSS float and clear properties.
12:23
Understand the CSS position attribute and how it works.
08:58
Fluid layouts allow the elements of a page to move as the page resizes, but you might not want them to! Then you'd choose the fixed layout.
08:02

The display property can make block elements behave like inline elements, make elements disappear and whole bunch of other stuff.

Chrome Developer Tools
15:45

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Loony Corn, A 4-person team;ex-Google; Stanford, IIM Ahmedabad, IIT

Loonycorn is us, Janani Ravi, Vitthal Srinivasan, Swetha Kolalapudi and Navdeep Singh. Between the four of us, we have studied at Stanford, IIM Ahmedabad, the IITs and have spent years (decades, actually) working in tech, in the Bay Area, New York, Singapore and Bangalore.

Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft

Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too

Swetha: Early Flipkart employee, IIM Ahmedabad and IIT Madras alum

Navdeep: longtime Flipkart employee too, and IIT Guwahati alum

We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Udemy!

We hope you will try our offerings, and think you'll like them :-)

Ready to start learning?
Take This Course