-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
delisma
committed
Jul 12, 2021
1 parent
f3bdc3c
commit 31e2462
Showing
1 changed file
with
133 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
--- | ||
altLangPage: # | ||
dateModified: 2021-06-29 | ||
lang: en | ||
layout: default | ||
title: Tables, caption and forms | ||
--- | ||
## Tables | ||
<table class="wb-table table"> | ||
<caption>Table 1</caption> | ||
<tfoot> | ||
<tr> | ||
<td>Total:</td> | ||
<td>All the data</td> | ||
<td></td> | ||
</tr> | ||
</tfoot> | ||
<thead> | ||
<tr> | ||
<th>Column 1</th> | ||
<th>Column 2</th> | ||
<th>Column 3</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>Data 1.1</td> | ||
<td>Data 1.2</td> | ||
<td>Data 1.3</td> | ||
</tr> | ||
<tr> | ||
<td>Data 2.1</td> | ||
<td>Data 2.2</td> | ||
<td>Data 2.3</td> | ||
</tr> | ||
<tr> | ||
<td>Data 3.1</td> | ||
<td>Data 3.2</td> | ||
<td>Data 3.3</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
## Captions | ||
|
||
### Image | ||
{::nomarkdown} | ||
<figure> | ||
<img src="../images/ip-cover-image.jpg" alt="Long description after the image" class="img-responsive"> | ||
<figcaption>The long description goes here<figcaption> | ||
</figure> | ||
{:/} | ||
|
||
### Code snippet | ||
{::nomarkdown} | ||
<figure> | ||
<figcaption>Get browser details using <code>navigator</code>.</figcaption> | ||
<pre> | ||
function NavigatorExample() { | ||
var txt; | ||
txt = "Browser CodeName: " + navigator.appCodeName + "; "; | ||
txt+= "Browser Name: " + navigator.appName + "; "; | ||
txt+= "Browser Version: " + navigator.appVersion + "; "; | ||
txt+= "Cookies Enabled: " + navigator.cookieEnabled + "; "; | ||
txt+= "Platform: " + navigator.platform + "; "; | ||
txt+= "User-agent header: " + navigator.userAgent + "; "; | ||
console.log("NavigatorExample", txt); | ||
} | ||
</pre> | ||
</figure> | ||
{:/} | ||
|
||
### Quotation | ||
{::nomarkdown} | ||
<figure> | ||
<figcaption><cite>Edsger Dijkstra:</cite></figcaption> | ||
<blockquote>If debugging is the process of removing software bugs, | ||
then programming must be the process of putting them in.</blockquote> | ||
</figure> | ||
{:/} | ||
|
||
### Poem | ||
{::nomarkdown} | ||
<figure> | ||
<p style="white-space:pre"> | ||
Bid me discourse, I will enchant thine ear, | ||
Or like a fairy trip upon the green, | ||
Or, like a nymph, with long dishevell'd hair, | ||
Dance on the sands, and yet no footing seen: | ||
Love is a spirit all compact of fire, | ||
Not gross to sink, but light, and will aspire.</p> | ||
<figcaption><cite>Venus and Adonis</cite>, | ||
by William Shakespeare</figcaption> | ||
</figure> | ||
{:/} | ||
|
||
## Forms | ||
|
||
<form action="" method="get"> | ||
<div class="form-group"> | ||
<label for="name" class="control-label">Enter your name: </label> | ||
<input type="text" class="form-control" name="name" id="name" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="email" class="control-label">Enter your email: </label> | ||
<input type="email" class="form-control" name="email" id="email" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="btngrp-search2" class="wb-inv">Search</label> | ||
<div class="input-group"> | ||
<input type="text" class="form-control" id="btngrp-search2" placeholder="(placeholder text)" /> | ||
<span class="input-group-btn"> | ||
<button class="btn btn-default" type="button">Search</button> | ||
</span> | ||
</div> | ||
</div> | ||
<fieldset class="chkbxrdio-grp"> | ||
<legend>Title</legend> | ||
<div class="radio"> | ||
<label> | ||
<input type="radio" name="radio"> Select HTML | ||
</label> | ||
</div> | ||
<div class="radio"> | ||
<label> | ||
<input type="radio" name="radio"> Select Plain text | ||
</label> | ||
</div> | ||
</fieldset> | ||
<div class="form-group"> | ||
<input type="submit" class="btn btn-primary" value="Subscribe!"> | ||
</div> | ||
</form> |