Zombie Blocks and Other Blocks of Content - Part 1

4 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€65.70
List Price:  €93.87
You save:  €28.16
£56.78
List Price:  £81.12
You save:  £24.34
CA$96.02
List Price:  CA$137.18
You save:  CA$41.15
A$108.71
List Price:  A$155.31
You save:  A$46.59
S$95.36
List Price:  S$136.23
You save:  S$40.87
HK$548.45
List Price:  HK$783.54
You save:  HK$235.08
CHF 63.80
List Price:  CHF 91.15
You save:  CHF 27.34
NOK kr769.93
List Price:  NOK kr1,099.95
You save:  NOK kr330.02
DKK kr490.31
List Price:  DKK kr700.47
You save:  DKK kr210.16
NZ$118.43
List Price:  NZ$169.19
You save:  NZ$50.76
د.إ257.05
List Price:  د.إ367.23
You save:  د.إ110.18
৳7,676.37
List Price:  ৳10,966.71
You save:  ৳3,290.34
₹5,834.67
List Price:  ₹8,335.60
You save:  ₹2,500.93
RM334.41
List Price:  RM477.75
You save:  RM143.34
₦90,777.03
List Price:  ₦129,687.03
You save:  ₦38,910
₨19,466.05
List Price:  ₨27,809.84
You save:  ₨8,343.78
฿2,589.56
List Price:  ฿3,699.53
You save:  ฿1,109.97
₺2,277.64
List Price:  ₺3,253.91
You save:  ₺976.27
B$364.49
List Price:  B$520.72
You save:  B$156.23
R1,335.85
List Price:  R1,908.44
You save:  R572.59
Лв128.52
List Price:  Лв183.62
You save:  Лв55.09
₩96,509.16
List Price:  ₩137,876.14
You save:  ₩41,366.97
₪262.81
List Price:  ₪375.46
You save:  ₪112.65
₱4,024.28
List Price:  ₱5,749.22
You save:  ₱1,724.94
¥10,831.24
List Price:  ¥15,473.86
You save:  ¥4,642.62
MX$1,193.35
List Price:  MX$1,704.86
You save:  MX$511.51
QR255.21
List Price:  QR364.60
You save:  QR109.39
P971.48
List Price:  P1,387.89
You save:  P416.41
KSh9,343.66
List Price:  KSh13,348.66
You save:  KSh4,005
E£3,370.40
List Price:  E£4,815.06
You save:  E£1,444.66
ብር3,974.28
List Price:  ብር5,677.79
You save:  ብር1,703.50
Kz58,484.22
List Price:  Kz83,552.47
You save:  Kz25,068.24
CLP$67,138.60
List Price:  CLP$95,916.40
You save:  CLP$28,777.80
CN¥506.95
List Price:  CN¥724.24
You save:  CN¥217.29
RD$4,127.56
List Price:  RD$5,896.78
You save:  RD$1,769.21
DA9,431.64
List Price:  DA13,474.35
You save:  DA4,042.71
FJ$159.10
List Price:  FJ$227.30
You save:  FJ$68.19
Q544.01
List Price:  Q777.19
You save:  Q233.18
GY$14,634.05
List Price:  GY$20,906.69
You save:  GY$6,272.63
ISK kr9,876.98
List Price:  ISK kr14,110.58
You save:  ISK kr4,233.60
DH708.59
List Price:  DH1,012.31
You save:  DH303.72
L1,249.26
List Price:  L1,784.74
You save:  L535.47
ден4,044.46
List Price:  ден5,778.05
You save:  ден1,733.58
MOP$564.32
List Price:  MOP$806.20
You save:  MOP$241.88
N$1,343.97
List Price:  N$1,920.04
You save:  N$576.07
C$2,574.58
List Price:  C$3,678.13
You save:  C$1,103.54
रु9,342.18
List Price:  रु13,346.54
You save:  रु4,004.36
S/260.97
List Price:  S/372.84
You save:  S/111.86
K265.79
List Price:  K379.72
You save:  K113.93
SAR262.52
List Price:  SAR375.05
You save:  SAR112.52
ZK1,795.86
List Price:  ZK2,565.63
You save:  ZK769.76
L326.99
List Price:  L467.14
You save:  L140.15
Kč1,660.63
List Price:  Kč2,372.43
You save:  Kč711.80
Ft25,906.43
List Price:  Ft37,010.78
You save:  Ft11,104.34
SEK kr762.37
List Price:  SEK kr1,089.15
You save:  SEK kr326.77
ARS$60,978.49
List Price:  ARS$87,115.87
You save:  ARS$26,137.37
Bs484.36
List Price:  Bs691.97
You save:  Bs207.61
COP$274,870.93
List Price:  COP$392,689.60
You save:  COP$117,818.66
₡35,126.73
List Price:  ₡50,183.20
You save:  ₡15,056.46
L1,726.83
List Price:  L2,467.01
You save:  L740.17
₲517,471.24
List Price:  ₲739,276.32
You save:  ₲221,805.07
$U2,687.21
List Price:  $U3,839.04
You save:  $U1,151.82
zł283.69
List Price:  zł405.30
You save:  zł121.60
Already have an account? Log In

Transcript

Hello, and welcome back to code isn't as scary as zombies. Right now we're gonna look at zombie blocks and other blocks of content. First of all, we have paragraph tags, talking about those in the last section. And all paragraphs should, surprisingly be being paragraph tags. It's the most basic unit of text, and 90% of the text. It's going to be in paragraph tags, though not not all of it, of course, 10% clearly is not going to be, but these can be within the text, or to have a carriage return or a line between the two, depending upon what you want to do with your site.

Probably more typically, on the web, it tends to be a line have a blank line between paragraphs, but there are some exceptions. Another tag that we talked about is the break tag. Now most of the time, you don't want to hard Wrap Text, you want it to flow within its container, because particularly with responsive design, you're not going to know exactly how wide or tall or whatever your the container for the particular text is. So if you do some hard returns, and it's going to look funky, if somebody looks on a screen that happens to be a different size than yours, which is almost certainly likely, because of the proliferation of devices that have different screen sizes, and desktops, and who knows what size, the width is going to be on a desktop, etc. There will be times However, when you need to format an address, or similar piece of content where you don't want lines between them.

So for instance, if you've done a blank line between paragraphs, if you create another paragraph, it's going to continue to make blank lines between the things. And that doesn't look great, particularly on a an address, or another type of other types of content like that. What you can do then is use a break tag. And rather than skipping a line, you can just go straight to the next line. Now, there are often times when we need to boldly go where no zombie resistance fighter has ever gone before, which in here is the bold tag. So HTML is mostly structural, most aesthetics go with C But you can also designate what should be bolded or strongly emphasized.

So for instance, we have the B tag, which is the bold tag. This is what we had to about HTML for when it when it came together with it with XHTML. And when HTML and XHTML came together, they want to be very strict about how they what tags they use. So they brought in the strong tag, which is basically the bold tag, but labeled strong, in theory gives you a little bit more information than just the letter B does about the content that's in there. But strong takes longer to type. I'm in the shorter typings better camp.

And eventually they basically said that'd be in strong or equivalent, and can you use them that way as you see fit. So both the and strong will make content fold. Similar struggle with with I so I would be the towel tag and one point wanted to do something better. And so the camp VM tag or emphasis, which doesn't really make sense to me, because it's about the same cryptic level as I and can be confused with the CSS size unit. We'll, we'll get to there shortly. But yeah, it just doesn't seem like it really helps.

So eventually, they just made them the same as well, particularly html5. So both will make both I and M. tags will make the content metallic. Alright, so let's look at some code. Okay. So this paragraph, this shows you paragraph tags, tags, tags, bold tags. So we have a p tag here.

Good ends with this closing p tag. Here we have an M tag. You can also do an eye tag. Here's an example. Here's the examples down here. Not because zombies are not cuddly, cuddly.

It's surprising that maybe there's the italics. rigor mortis really affects flexibility. If you're pressing hit that there's a zombie on your head that's bold or strong. This is a bold. And then here we have an example of what not to do. So this is basically both improper nesting and improper ending tags.

So we have mashed up the M tag and the eye tag together, but they don't really well, they do the same thing. They don't necessarily can interact properly. So this slash I does not close this m. So that's why zombie is still italicized. And the slash strong doesn't really close the p tag. But that's harder to see because of, that's where the page ends as well. But yeah, so that's the code there for paragraphs tallix and bowling

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.