Semantic HTML terminal

Developer
Size
1,856 Kb
Views
40,480

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 Previews

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; }
Semantic HTML terminal - Script Codes
Semantic HTML terminal - Script Codes
Home Page Home
Developer Tom
Username tomleo
Uploaded September 01, 2022
Rating 3
Size 1,856 Kb
Views 40,480
Do you need developer help for Semantic HTML terminal?

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!

Tom (tomleo) Script Codes
Create amazing Facebook ads with AI!

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!