CSS test 2: the code blocks of this site

Contents
Commands and output
Code
Paths and inline code
Tables and lists
Warnings

This page shows each kind of text block of this site once. After a change to the stylesheets, open it and check that every block still looks right, in a light and a dark browser theme and on a phone. Shapes drawn with CSS are in CSS test: shapes and line numbers.

Commands and output

A command the reader types, one per block:

ls -l /var/www

Its output:

total 8 drwxr-xr-x 2 root root 4096 Oct 26 09:10 html drwxr-xr-x 3 root root 4096 Oct 26 09:10 example.com

Code

A configuration snippet:

server { listen 80; server_name example.com; root /var/www/example.com/html; }

Paths and inline code

A path on its own line:

/etc/nginx/nginx.conf

Inline code inside a sentence: run nginx -t before systemctl reload nginx.

Tables and lists

BlockClass
Commandcmd1
Outputcout1
Codesomecode
Pathpath

Warnings

WARNING: a message that a program printed as a warning.

Article authors: Andrei Olegovich, Klavdiya Kondakova

Related articles
Responsive design: an adaptive menu
Beget mail: create a mailbox
Canonical page: rel=canonical
CSS
Firefox
Which hosting to choose
VPS hosting
HTTP status codes
Joomla
OpenCart
PUT vs POST
Redirects
Russian IP ranges
SEO
Element tbody not allowed as child of element table in this context
CSS test: shapes and line numbers
CSS test 2: the code blocks of this site
Website testing
A tram drawn with CSS
URL encoding
UTM tags
Telling bots from people
WebP images
Moving a website: domain and hosting
WordPress
Move a WordPress site
Yandex Metrica: goals
Yandex Mail: collect mail from other mailboxes

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.com
Write to info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: