Semantic HTML terminal
How do I make an semantic html terminal?
This is semantic HTML for displaying a terminal emulator session, it makes use of the not so well known elements samp and kbd. What is a semantic html terminal? How do you make a semantic html terminal? This script and codes were developed by Tom on 01 September 2022, Thursday.
Semantic HTML terminal - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Semantic HTML terminal</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <p> The samp element represents sample or quoted output from another program or computing system.
</p>
<p> The kbd element represents what the user should enter.
</p>
<div class="terminal">
<pre>
<samp><span class="prompt">tom@tom-ThinkPad-T510</span><span class="path"> ~ $</span> <kbd>cat "hello world!"</kbd>
hello world!
<span class="prompt">tom@tom-ThinkPad-T510</span><span class="path"> ~ $</span><span class="cursor">_</span>
</samp>
</pre>
</div>
</body>
</html>
Semantic HTML terminal - Script Codes CSS Codes
.terminal { background: #333333; color: white; width: 500px; height: 300px; padding: 0.05em 0.45em 0.05em 0.45em; border-style: solid;
border-width: 45px 18px 3px 3px;
-moz-border-image: url(http://i1375.photobucket.com/albums/ag447/tomjleo/Screenshotfrom2014-03-10130050_zps3f9c5997.png) 45 18 3 3 repeat;
-webkit-border-image: url(http://i1375.photobucket.com/albums/ag447/tomjleo/Screenshotfrom2014-03-10130050_zps3f9c5997.png) 45 18 3 3 repeat;
-o-border-image: url(http://i1375.photobucket.com/albums/ag447/tomjleo/Screenshotfrom2014-03-10130050_zps3f9c5997.png) 45 18 3 3 repeat;
border-image: url(http://i1375.photobucket.com/albums/ag447/tomjleo/Screenshotfrom2014-03-10130050_zps3f9c5997.png) 45 18 3 3 fill repeat;
}
.prompt { color: #50d54f; }
.path { color: #87cdff; }
Developer | Tom |
Username | tomleo |
Uploaded | September 01, 2022 |
Rating | 3 |
Size | 1,856 Kb |
Views | 40,480 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS Border Property | 1,910 Kb |
GeoLocation API | 1,584 Kb |
Sibling Combinators | 1,439 Kb |
CSS Layered Animation | 2,094 Kb |
Not psudo-selector | 1,406 Kb |
Sass for-loop nth-child | 1,653 Kb |
M-popover | 3,555 Kb |
SVG tooltip using D3 | 1,629 Kb |
CSS3 Transform play | 1,752 Kb |
Using rbga | 1,680 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Twitch Live Channels | Inkblotty | 4,956 Kb |
Zip Button test | Lje7462 | 1,932 Kb |
CSS3 Button Examples | Volusion | 3,377 Kb |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 Kb |
CSS Org Chart | Appirio-ux | 3,882 Kb |
CSS Hover Effects | Alen | 3,613 Kb |
Canvas Fireworks | Jackrugile | 6,200 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
About Mazano | Kiti | 2,585 Kb |
Speech bubbles | Something | 1,547 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!