-
Notifications
You must be signed in to change notification settings - Fork 243
/
class1.html
746 lines (674 loc) · 25.7 KB
/
class1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Class 1 ~ HTML/CSS ~ Girl Develop It</title>
<meta name="description" content="This is curriculum for the GDI RDU intro to web series. It was developed from the official Girl Develop It Core HTML/CSS curriculum">
<meta name="author" content="Girl Develop It">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/simple.css" id="theme">
<link rel="stylesheet" href="css/custom.css">
<!-- For syntax highlighting -->
<!-- light editor--><link rel="stylesheet" href="lib/css/light.css">
<!-- dark editor<link rel="stylesheet" href="lib/css/dark.css"> -->
<!-- <link rel="stylesheet" href="lib/css/zenburn.css"> -->
<link rel="stylesheet" href="plugin/accessibility-helper/css/accessibility-helper.css">
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<!-- If use the PDF print sheet so students can print slides-->
<link rel="stylesheet" href="css/print/pdf.css" type="text/css" media="print">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<img src="img/circle-gdi-logo.png" alt="GDI Logo" class="noborder">
<h1>Intro to HTML/CSS</h1>
<h2>Class 1</h2>
</section>
<!-- Welcome-->
<section class="hide-pdf">
<h3>Welcome!</h3>
<div class = "left-align">
<p>Girl Develop It is here to provide affordable and accessible programs to learn software through mentorship and hands-on instruction.</p>
<p class ="green">Some "rules"</p>
<ul>
<li>We are here for you!</li>
<li>Every question is important</li>
<li>Help each other</li>
<li>Have fun</li>
</ul>
</div>
</section>
<section>
<h3>Welcome!</h3>
<div class = "left-align">
<p>Tell us about yourself.</p>
<ul>
<li>Who are you?</li>
<li>What do you hope to get out of the class?</li>
<li>What is your favorite or dream vacation destination?</li>
</ul>
</div>
</section>
<!-- What is HTML?-->
<section>
<h3>What is HTML?</h3>
<p>HTML is the code that allows us to build websites</p>
<img src = "img/homepage-view.png" alt="Screenshot of the Girl Develop It Homepage">
</section>
<section>
<h3>What is HTML?</h3>
<p>If you 'view the source', you see this</p>
<img src = "img/homepage-html.png" alt="Screenshot of the Girl Develop It page source code">
</section>
<!-- History of HTML-->
<section>
<h3>History of HTML</h3>
<ul>
<li>Invented by Tim Berners-Lee</li>
<li>Created "hypertext" to share scientific papers</li>
<li>First web page August 6, 1991</li>
<li>Standardized by w3 Consortium (pack of super nerds)</li>
</ul>
</section>
<section>
<h3>History of HTML</h3>
<ul>
<li><strong>H</strong>yper<strong>T</strong>ext <strong>M</strong>arkup <strong>L</strong>anguage</li>
<li>Early 90s</li>
<li>HTML 4 in 1997</li>
<li>XHTML in 2000</li>
<li>HTML 5 in 2014</li>
</ul>
</section>
<!-- Terms-->
<section>
<h3>Terms</h3>
<ul>
<li><strong>Web design</strong><br />
The process of planning, structuring and creating a website</li>
<li><strong>Web development</strong><br />
The process of programming dynamic web applications</li>
<li><strong>Front end</strong><br />
The outwardly visible elements of a website or application</li>
<li><strong>Back end</strong><br />
The inner workings and functionality of a website or application.</li>
</ul>
</section>
<!-- Nitty gritty 1 - Clients and servers -->
<section>
<h3>Clients and servers</h3>
<p>How your computer accesses websites</p>
<img src = "img/client-server.png" alt="Diagram showing computer connecting to server"/>
</section>
<!-- Nitty gritty 2 - Tools -->
<section>
<h3>Tools</h3>
<ul>
<li><strong>Browser</strong><br />
Chrome<br />
Firefox</li>
<li><strong>Development Toolkit</strong><br />
Chrome - Inspector<br />
Firefox - Firebug</li>
<li><strong>Text Editor</strong><br />
<a href="https://atom.io/" target="_blank">Atom</a> - Windows, Mac<br />
<a href="https://notepad-plus-plus.org/" target="_blank">Notepad++</a> - Windows<br />
<a href="http://www.sublimetext.com/" target="_blank">Sublime Text</a> - Windows, Mac, Linux<br />
<a href="http://www.barebones.com/products/textwrangler/TextWrangler" target="_blank">TextWrangler</a> - Mac</li>
</ul>
</section>
<!-- Folder Structure -->
<section>
<h3>Get Started: Folder Structure</h3>
<p>All the files for your site should be stored within the same folder.</p>
<div class="halfblock">
<p class="left-align"><strong>This includes:</strong></p>
<ul>
<li>HTML Files</li>
<li>CSS Files</li>
<li>Images</li>
<li>Script files</li>
<li>Anything else that will appear on your site</li>
</ul>
<p class="left-align" style="margin-top: .5em;"><small>Note: File names should not include spaces or special characters. File names ARE case sensitive.</small></p>
</div>
<div class="halfblock">
<img src="img/folderstructure1.png" alt="Diagram showing html-site folder with sub-folder for images, index.html, and styles.css" />
</div>
</section>
<section>
<h3>Goals</h3>
<img src="img/goal.jpg" alt="Soccer goal on beach"/>
<p><small>Photo credit: <a href="http://www.flickr.com/photos/corscri/1320198723/">Corscri Daje Tutti!</a> <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">cc</a></small></p>
</section>
<section>
<h3>Final project</h3>
<img src="img/sample-page.png" alt="Screenshot of a sample page"/>
<p>By the end of the class, you will have built a simple site using HTML and CSS on a topic of your choice. <a href="sample-code/final/index.html" target="_blank">Here is one about rock climbing.</a>
</section>
<section>
<h3>Anatomy of a website</h3>
<p><strong>Your Content</strong><br />
<strong>+ HTML</strong>: Structure<br />
<strong>+ CSS</strong>: Presentation<br />
<strong>= Your Website</strong></p>
<p>A website is a way to present your content to the world, using HTML and CSS to present that content & make it look good.</p>
</section>
<section>
<h3>Anatomy of a website</h3>
<p>Concrete example:</p>
<ul>
<li>A paragraph is your <strong>content</strong></li>
<li>Putting your content into an HTML tag to make it look like a paragraph is <strong>structure</strong>
<pre><code class ="html"><p>A paragraph is your content</p>
</code></pre>
</li>
<li>Making the font of your paragraph green and 24px is <strong>presentation</strong><br />
<p style="font-size:24px; color:green;">A paragraph is your content</p>
</li>
</ul>
</section>
<!-- HTML element-->
<section>
<h3>Anatomy of an HTML element</h3>
<ul>
<li><strong>Element</strong>
<ul>
<li>An individual component of HTML</li>
<li>Paragraph, heading, table, list, div, link, image, etc.</li>
</ul>
</li>
<li><strong>Tag</strong>
<ul>
<li>Marks the beginning & end of an element</li>
<li>Opening tag and Closing Tag</li>
<li>Tags contain characters that indicate the tag's purpose
<pre><code class ="html"><tagname>Stuff in the middle</tagname></code></pre>
</li>
<li>
<pre><code class ="html"><p> This is a sample paragraph.</p></code></pre>
</li>
</ul>
</li>
</ul>
</section>
<!--anatomy of a tag -->
<section>
<h3>Tag Breakdown</h3>
<img src="img/tagbreakdown.png" alt="Tag breakdown" style="border: none; box-shadow: none;" />
</section>
<section>
<h3>Anatomy of an HTML element</h3>
<ul>
<li><strong>Container Element</strong>
<ul>
<li>An element that can contain other elements or
content</li>
<li>A paragraph (<p>) contains text</li>
</ul>
</li>
<li><strong>Stand Alone Element</strong>
<ul>
<li>An element that cannot contain anything else</li>
<li>
<pre><code class = "html"><br/>
<img/>
</code></pre>
</li>
</ul>
</li>
</ul>
</section>
<section>
<h3>Anatomy of an HTML element</h3>
<ul>
<li><strong>Attribute</strong>
<ul>
<li>Provides additional information about the HTML element</li>
<li>Class, ID, language, style, identity, source</li>
<li>Placed inside an opening tag, before the right angle bracket.</li>
</ul>
</li>
<li><strong>Value</strong>
<ul>
<li>Value is the value assigned to a given attribute.</li>
<li>Values must be contained inside quotation marks.</li>
<li>
<pre><code class ="html"><div id="copyright">©Girl Develop It logo 2016</div>
<img src="my_picture.jpg" />
<a href="http://girldevelopit.com">Girl Develop It</a>
</code></pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- HTML Page-->
<section>
<h3>Doctype</h3>
<p>The first thing on an HTML page is the doctype, which tells the browser which version of the markup language the page is using.</p>
<pre><code class = "html"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01 Transitional//EN" "http://
www.w3.org/TR/html4/loose.dtd">
</code></pre>
<pre><code class = "html"><!DOCTYPE html>
</code></pre>
<p><small>* The doctype is case-insensitive. <br/>DOCtype, doctype, DocType and DoCtYpe are all valid.</small></p>
</section>
<section>
<h3>HTML Tag</h3>
<p>After <doctype>, the page content must be contained between <html> tags.</p>
<pre><code class = "html"><!DOCTYPE html>
<html>
</html>
</code></pre>
</section>
<section>
<h3>Head and Body Tags</h3>
<p><strong>Head:</strong> The head contains the title of the page & meta information about the page. Meta information is not visible to the user, but has many purposes, like providing information to search engines.</p>
<p><strong>Body:</strong> The body contains the actual content of the page. Everything that is contained in the body is visible to the user.</p>
</section>
<!--example of head and body tags-->
<section>
<h3>Head and Body Tags: Example</h3>
<img src="img/example-headbody.png" alt="example of head and body" />
</section>
<section>
<h3>Head and Body Tags</h3>
<pre><code class = "html"><!DOCTYPE html>
<html>
<head>
<title>Title of the page </title>
</head>
<body>
The page content here.
</body>
</html>
</code></pre>
</section>
<!-- Develop it -->
<section>
<h3>Let's develop it!</h3>
<p>Let's get our web page set up with a doctype, head, title and body.</p>
<p>Later we'll add some content.</p>
</section>
<!-- Nesting-->
<section>
<h3>Nesting</h3>
<p>All elements "nest" inside one another</p>
<p>Nesting is what happens when you put other containing tags inside other containing tags. For example, you would put the <p> inside of the <body> tags. The <p> is now nested inside the <body></p>
</section>
<section>
<h3>Nesting Order</h3>
<img src = "img/owls.jpg" alt="Nesting owl dolls"/>
<p>Whichever element OPENS first CLOSES last</p>
</section>
<section>
<h3>Nesting: Example</h3>
<p>Elements are 'nested' inside the <body> tag.</p>
<pre><code class="html"><body>
<p>A paragraph inside the body tag</p>
</body>
</code></pre>
<p>Paragraphs 'nested' inside list items.</p>
<pre><code class="html"><ul>
<li>
<p>A paragraph inside a list item</p>
</li>
</ul>
</code></pre>
</section>
<!-- Elements -->
<!-- Paragraphs-->
<section>
<h3>Element: Paragraph</h3>
<div>
<div class="halfblock">
<pre><code class="html"><p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>Paragraph 3</p>
</code></pre>
<pre><code class="html"><p>Paragraph 1</p> <p>Paragraph 2</p> <p>Paragraph 3</p>
</code></pre>
<pre><code class="html"><p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>Paragraph 3</p>
</code></pre>
</div>
<div class="halfblock">
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>Paragraph 3</p>
</div>
<p class="clear"><small>* White space is only for humans. You can write your code with any spacing.</small></p>
</div>
</section>
<section>
<h3>Example: Paragraphs</h3>
<p>Paragraphs allow you to format your content in a readable fashion.</p>
<img src="img/example-paragraphs.png" alt="Example of Paragraphs in the wild" />
<p><small>* You can edit how paragraphs are displayed with CSS</small></p>
</section>
<!-- Headings-->
<section>
<h3>Element: Heading</h3>
<div>
<div class="halfblock">
<pre><code class="html"><h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</code></pre>
</div>
<div class="halfblock">
<h1 style = "font-size: 120%">Heading 1</h1>
<h2 style = "font-size: 110%">Heading 2</h2>
<h3 style = "font-size: 105%">Heading 3</h3>
<h4 style = "font-size: 95%">Heading 4</h4>
<h5 style = "font-size: 85%">Heading 5</h5>
<h6 style = "font-size: 75%">Heading 6</h6>
</div>
<p class="clear"><small>* Heading number indicates hierarchy, not size. Think of outlines from high school papers</small></p>
</div>
</section>
<!--heading examples-->
<section>
<h3>Example: Headings</h3>
<img src="img/example-headings.png" alt="Example of headings" />
</section>
<!-- Em and Strong-->
<section>
<h3>Formatted text</h3>
<div>
<div class="halfblock">
<pre><code class="html"><p>
Here is a paragraph with <em>emphasized</em> text and <strong>important</strong> text.
</p>
</code></pre>
</div>
<div class="halfblock">
<p>Here is a paragraph with <em>Emphasized</em> text and <strong>Important</strong> text.</p>
</div>
<p class="clear"><small>* Notice: em and strong are meant to indicate meaning through style. If you want to have italicized for appearance and not to communicate meaning, you should use CSS.</small></p>
</div>
</section>
<!--develop it!-->
<section >
<h3>Let's Develop it!</h3>
<p class="left-align">Let's add some content to our site!</p>
<p class="left-align">Add one of each level of heading with 1-2 short paragraphs of text below each heading. </p>
<p class="left-align">Use <strong> and <em> within a few paragraphs.</p>
</section>
<!-- Links-->
<section>
<h3>Element: Link</h3>
<p>Links have three components</p>
<ul>
<li>Tag: <a></a></li>
<li>Href attribute: "http://www.girldevelopit.com"</li>
<li>Title attribute: "Girl Develop It"</li>
</ul>
<pre><code class="html"><a href="http://www.girldevelopit.com" title="Girl Develop It">Girl Develop It</a><
</code></pre>
<p><a href ="http://www.girldevelopit.com" title="Girl Develop It">Girl Develop It</a></p>
<p>The <a> tag surrounds text or images to turn them into links</p>
</section>
<!-- Link Attributes -->
<section>
<h3>Link Attributes</h3>
<p>Links can have attributes that tell the link to do different actions like open in a new tab, or launch your e-mail program.</p>
<pre><code class="html"><a href="home.html" target="_blank">Link Text</a>
</code></pre>
<p><small>Link opens in a new window/tab with <strong>target="_blank"</strong></small></p>
<!-- Change email to fit your chapter's needs-->
<pre><code class="html"><a href="mailto:[email protected]">E-mail us!</a>
</code></pre>
<p><small>Adding <strong>mailto:</strong> directly before the email address means the link will open in the default email program.</small></p>
</section>
<!-- relative & absolute links -->
<section>
<h3>Relative vs. Absolute paths for links & images</h3>
<ul>
<li><strong>Relative</strong><br />
Relative paths change depending upon the page the link is on.
<ul>
<li><small>Links within the same directory need no path information. <code>"filename.jpg"</code></small></li>
<li><small>Subdirectories are listed without preceding slashes. <code>"img/filename.jpg"</code></small></li>
</ul>
</li>
<li><strong>Absolute</strong><br />
<ul>
<li>Absolute paths refer to a specific location of a file, including the domain. <small><code>"http://www.girldevelopit.com/chapters/detroit"</code></small></li>
<li>Typically used when pointing to a link that is not within your own domain.</li>
</ul>
</li>
</ul>
</section>
<!-- Lets develop it-->
<section>
<h3>Let's Develop It</h3>
<p>Let's add links to our site!</p>
<p>Add links that open in the same window, a new window and link to an e-mail address.</p>
</section>
<!-- Self-closing elements-->
<!--Images-->
<section>
<h3>Element: Image</h3>
<p>Images have three components</p>
<ul>
<li>Tag: <img /></li>
<li>Src attribute: "https://assets.brandfolder.com/4btx26fz/original/circle-gdi-logo.png"</li>
<li>Alt attribute: "Girl Develop It logo"</li>
</ul>
<pre><code class="html"><img src="https://assets.brandfolder.com/4btx26fz/original/circle-gdi-logo.png"
alt="Girl Develop It logo"/>
</code></pre>
<p><small>* Notice: This tag is our first example of a stand-alone or "self-closing" element.</small></p>
</section>
<!-- Line Break-->
<section>
<h3>Element: Line Break</h3>
<div>
<div class="halfblock">
<pre><code class="html"><p>
Imagine there's no Heaven <br/>
It's easy if you try <br/>
No hell below us <br/>
Above us only sky
</p>
</code></pre>
</div>
<div class="halfblock">
<p>
Imagine there's no Heaven <br/>
It's easy if you try <br/>
No hell below us <br/>
Above us only sky
</p>
</div>
<div class ="clear"></div>
</div>
</section>
<!-- Develop it! -->
<section>
<h3>Let's Develop It!</h3>
<p>Let's add some images and line breaks to our page.</p>
<p>We can even turn our images into links.</p>
</section>
<!-- Lists-->
<section>
<h3>Element: Unordered and ordered lists</h3>
<div>
<div class="halfblock">
<pre><code class="html"><ul>
<li>List Item</li>
<li>AnotherList Item</li>
</ul>
</code></pre>
<pre><code class="html"><ol>
<li>List Item</li>
<li>AnotherList Item</li>
</ol>
</code></pre>
</div>
<div class="halfblock">
<p>Unordered list (bullets)</p>
<ul>
<li>List Item</li>
<li>Another List Item</li>
</ul>
<p>Ordered list (sequence)</p>
<ol>
<li>List Item</li>
<li>Another List Item</li>
</ol>
</div>
<div class ="clear"></div>
</div>
</section>
<!-- example of lists -->
<section>
<h3>Lists: Examples</h3>
<p>Lists can be used to organize any list of items.</p>
<img src="img/example-lists.png" alt="Examples of lists"/>
<p><small>You'd be surprised how often lists are used in web design.</small></p>
</section>
<!-- Develop it!-->
<section>
<h3>Let's Develop it!</h3>
<p>Let's add one of each ordered and unordered lists to our page.</p>
<p>We can make a list of links or even a list of images!</p>
</section>
<!--Comments-->
<section>
<h3>Comments</h3>
<p>You can add comments to your code that will not be seen by the browser, but only visible when viewing the code.</p>
<pre><code class="html"><!-- Comment goes here -->
</code></pre>
<p><small>Comments can be used to organize your code into sections so you (or someone else) can easily understand your code. It can also be used to 'comment out' large chunks of code to hide it from the browser.</small></p>
<pre><code class="html"><!-- Beginning of header -->
<div id="header">Header Content </div>
<!-- End of header -->
<!--
<ol>
<li>List Item</li>
<li>Another List Item</li>
</ol>
-->
</code></pre>
</section>
<!--Tables-->
<section>
<h3>Tables</h3>
<p>Tables are a way to represent complex information in a grid format.</p>
<p>Tables are made up of rows and columns.</p>
<div>
<div class="halfblock">
<pre><code class="html"><table>
<tr>
<th>Head</th>
<th>Head</th>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
</tr>
</table>
</code></pre>
</div>
<div class="halfblock">
<table style="border: 1px solid">
<tr>
<th style="border: 1px solid">Head</th>
<th style="border: 1px solid">Head</th>
</tr>
<tr>
<td style="border: 1px solid">Data</td>
<td style="border: 1px solid">Data</td>
</tr>
</table>
</div>
<div class ="clear"></div>
</div>
</section>
<!-- Table Examples -->
<section>
<h3>Tables: Examples</h3>
<p>Tables can be styled with CSS to add zebra striping or to highlight important rows/columns.</p>
<img src="img/example-tables.png" alt="Example of tables" />
</section>
<!-- Character codes-->
<section>
<h3>Character codes</h3>
<p>There are character codes for many different characters in many different languages</p>
<div class="halfblock">
<ul>
<li>Delta: &delta; δ</li>
<li>Copyright symbol: &copy; ©</li>
<li>Grave: &grave; `</li>
<li>An grave a: &agrave; à</li>
<li>A full list is available at <a href="http://htmlandcssbook.com/extras/html-escape-codes/" target="_blank">htmlandcssbook.com</a></li>
</ul>
</div>
<div class="halfblock">
<img src="img/example-characters.png" alt="Example of Characters"/>
</div>
<div class ="clear"></div>
</section>
<section>
<h2>Questions?</h2>
</section>
</div><!-- Close slides -->
<div>
<footer>
<div class="copyright">
HTML/CSS ~ Girl Develop It
<a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/3.0/80x15.png" /></a>
</div>
</footer>
</div>
</div><!-- Closes Reveal -->
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/accessibility-helper/js/accessibility-helper.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>