Undead Markup

7 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.24
List Price:  €93.21
You save:  €27.96
£55.79
List Price:  £79.71
You save:  £23.91
CA$95.78
List Price:  CA$136.84
You save:  CA$41.05
A$107.15
List Price:  A$153.08
You save:  A$45.92
S$95.25
List Price:  S$136.08
You save:  S$40.82
HK$547.16
List Price:  HK$781.69
You save:  HK$234.53
CHF 63.78
List Price:  CHF 91.12
You save:  CHF 27.33
NOK kr771.03
List Price:  NOK kr1,101.52
You save:  NOK kr330.49
DKK kr486.66
List Price:  DKK kr695.26
You save:  DKK kr208.59
NZ$117.65
List Price:  NZ$168.07
You save:  NZ$50.42
د.إ257.05
List Price:  د.إ367.24
You save:  د.إ110.18
৳7,682.75
List Price:  ৳10,975.83
You save:  ৳3,293.07
₹5,839.27
List Price:  ₹8,342.17
You save:  ₹2,502.90
RM334.02
List Price:  RM477.20
You save:  RM143.17
₦92,745.84
List Price:  ₦132,499.74
You save:  ₦39,753.90
₨19,488.62
List Price:  ₨27,842.08
You save:  ₨8,353.45
฿2,593.98
List Price:  ฿3,705.84
You save:  ฿1,111.86
₺2,266.58
List Price:  ₺3,238.11
You save:  ₺971.53
B$358.23
List Price:  B$511.78
You save:  B$153.55
R1,308.04
List Price:  R1,868.72
You save:  R560.67
Лв127.69
List Price:  Лв182.42
You save:  Лв54.73
₩96,593.58
List Price:  ₩137,996.75
You save:  ₩41,403.16
₪262.11
List Price:  ₪374.46
You save:  ₪112.34
₱4,037.82
List Price:  ₱5,768.57
You save:  ₱1,730.74
¥10,982.62
List Price:  ¥15,690.13
You save:  ¥4,707.51
MX$1,188.90
List Price:  MX$1,698.50
You save:  MX$509.60
QR255.36
List Price:  QR364.82
You save:  QR109.45
P960.21
List Price:  P1,371.80
You save:  P411.58
KSh9,275.87
List Price:  KSh13,251.81
You save:  KSh3,975.94
E£3,354.25
List Price:  E£4,792
You save:  E£1,437.74
ብር4,018.25
List Price:  ብር5,740.61
You save:  ብር1,722.35
Kz58,443.04
List Price:  Kz83,493.64
You save:  Kz25,050.60
CLP$66,028.30
List Price:  CLP$94,330.18
You save:  CLP$28,301.88
CN¥506.69
List Price:  CN¥723.88
You save:  CN¥217.18
RD$4,095.54
List Price:  RD$5,851.02
You save:  RD$1,755.48
DA9,393.81
List Price:  DA13,420.31
You save:  DA4,026.49
FJ$158.42
List Price:  FJ$226.32
You save:  FJ$67.90
Q544.03
List Price:  Q777.22
You save:  Q233.19
GY$14,645.70
List Price:  GY$20,923.32
You save:  GY$6,277.62
ISK kr9,806.99
List Price:  ISK kr14,010.59
You save:  ISK kr4,203.60
DH708.51
List Price:  DH1,012.20
You save:  DH303.69
L1,235.26
List Price:  L1,764.74
You save:  L529.47
ден4,024.43
List Price:  ден5,749.43
You save:  ден1,725
MOP$564.37
List Price:  MOP$806.28
You save:  MOP$241.91
N$1,312.44
List Price:  N$1,875
You save:  N$562.55
C$2,589.99
List Price:  C$3,700.15
You save:  C$1,110.15
रु9,350.18
List Price:  रु13,357.97
You save:  रु4,007.79
S/262
List Price:  S/374.30
You save:  S/112.30
K266.57
List Price:  K380.83
You save:  K114.26
SAR262.49
List Price:  SAR375.01
You save:  SAR112.51
ZK1,865.62
List Price:  ZK2,665.29
You save:  ZK799.66
L324.62
List Price:  L463.77
You save:  L139.14
Kč1,642.25
List Price:  Kč2,346.17
You save:  Kč703.92
Ft25,489.50
List Price:  Ft36,415.13
You save:  Ft10,925.63
SEK kr767.15
List Price:  SEK kr1,095.98
You save:  SEK kr328.82
ARS$61,365.44
List Price:  ARS$87,668.68
You save:  ARS$26,303.23
Bs484.79
List Price:  Bs692.59
You save:  Bs207.79
COP$272,495.59
List Price:  COP$389,296.10
You save:  COP$116,800.51
₡35,128.88
List Price:  ₡50,186.26
You save:  ₡15,057.38
L1,728.92
List Price:  L2,470
You save:  L741.07
₲521,305.22
List Price:  ₲744,753.66
You save:  ₲223,448.44
$U2,682.06
List Price:  $U3,831.68
You save:  $U1,149.62
zł282.11
List Price:  zł403.03
You save:  zł120.92
Already have an account? Log In

Transcript

In this video, we'll talk about ways to markup content for display communication subscripts and superscripts. definitions and abbreviations, time, the time element or time tag, pre formatted content and code and the mighty small tag. The first thing we won't talk about is sub tag, or subscript. And it just does what you would expect a sub script to do just the baseline down 25%. He's a smaller text and the text around it, it's best used for footnotes, as I'm sure you're well used to. Also for chemical formulas like h2o, etc.

Or for numbering math variables, such as you know, z one to z hoard, etc. superscript creates superscript text, much like you would expect with exponents shift the baseline up to percent is a smaller text size, and it's best used for exponents, Z cubed, for instance, and also something called superior lettering, which is a common abbreviation style in French and possibly languages. It is technically a different thing than superscript. But if you're implementing it in HTML, typically it is done with the SCP tag or the sub tag, also ordinal numbers, so 160 or third or fifth or whatever. Sometimes you'll need a markup definition or an abbreviation. Something you'll, you'll see I'm sure commonly, the DFN tag is the markup for a definition tag.

With the event, you can also use a title attribute that sets the exact thing defined. You can also add a link from the DFN tag directly to a definition that might be further down on the page using something called page fragments, or anchor tags. We'll talk about that in a little bit. With the a br tag, you can set up a deviation. Yes, ABR is an abbreviation for abbreviations. You can also do acronyms and a wide variety of those as well.

Similar to the definition you can also use a title attribute but the thing about title attributes for both ABR and DFN That they're only useful to mouse users, because no one else can see the tooltip. And they're only useful also to the subset of them that know to hover over the abbreviation with the mouse or know that abbreviation is used. So they could even hover over with the mouse. Well, I recommend adding the title attribute to both your defense and abp RS unless use them in conjunction, and then you only need it in a DVR that's within a DFN. I would be careful not to only use this, but to make sure that you as particularly good practice to find the abbreviation or acronym, when you first use it, just to make sure that everybody's on the same page. And everybody knows what's going on.

Right, the time element, it's used to mark up specific dates and times or durations of time. So for instance, time of August 23, duration of 12 hours and 37 minutes to make it a little bit easier for SEO and a little bit easier for some extent for screen readers. There's something called the date time attribute formatting and this is very important because it has to be machine readable. So it has to come enough format that the machine is expecting or the computer is expecting. So for instance, we have, this is August 23 2025, at 1700 52 minutes and 42 seconds. Generally if you drop any piece of this, you can create a valid string such as 2523 or 20 foot 2508 or 1752, etc.

Those are all valid daytime values. The pre tag we use for code for other pre formatted text. It's formatted in a monospace font, usually courier Courier New, and whitespace is kept intact, and it's not collapsed into a single space like it normally as an HTML, so if you have two spaces in place, it will show two spaces instead of just showing one space. The small tag originally used to just make text smaller is now in html5. used for things like legal disclaimers copyright notices inside comments. Using this code is much more semantic meaning that it provides more information to the browser and to screen years etc.

Then just having sort of a generic div generic spam that makes the text smaller. Alright, so let's look at some live code okay. So, here we started out with the sub script, you can see Zabbix agent can be obliterated subscript of one right here using sub tag, or here water Hto so Karis zombie bite or the sum of z one to z hoard superscripts we got the Z three or Z cubed he was on dead fright. The superior lettering for man was Oh, so Mademoiselle zombie means Mademoiselle zombie, or the ordinal numbers for the hundred and 63. Also, we have definition and abbreviation. Here we have the DFN with the title of zombie.

So, here if I hover over it, it shows me what is in the title attribute. And then I just have the information beyond it. Whatever you want to put in. We have an abbreviation Under zombi, which is right up here, this information here. And then in the human resistance one, I put an abbreviation inside of DFN. And then only did a title on the abbreviation, not just the definition, and then again, put that right after it to make sure that everyone was on the same page.

Alright, so the time value, so time tag is right here. So it just wraps around here doesn't make any actual changes to the underline underlying tech doesn't make any formatting changes or anything like that. It just makes it more machine readable. So we have the date time here of you know, August 23 2025. At 1752 42. You can include more specific, or could I could have also just left it at just the first part here.

Okay, then we also have duration. So if I'm just doing a duration, I don't need a date, I just have the amount of time. So 12 hours, 37 minutes, date, time, etc. Alright, next we have pre formatted text. And for this I played around a little bit with formatting it. So I grabbed the deviation, just to have some sort of text in there.

And then I played around with spacing, so that you know, I have all this extra stuff, and the whitespace stays intact. And that's a direct mirror of what is shown in the code. So here we have the small tag. You have this is the regular size text. Then I actually did a, I did a small tag, which is this one here, which is just a little bit smaller. Then I did a second small tag within the small tag, just for fun.

And yeah, I know that's weird kind of fun, but Did a small tag within a small tag and so that made it even smaller one level further down. Alright, and then of course, down at the bottom here we have our footnote. Okay, that's it for undead markup. Now we're gonna talk about editing

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.