Class attribute stylesheet test.

This document is for a style check and contains invalid markup.

概要

Class attribute stylesheet test.

CSS files

  1. class.css

.asis

The element's styles are removed, with quotes and other text kept as is.

The a, s, ins, and del elements retain their styles because their meaning is closely related to their appearance.

.asis:not(a, s, ins, del)

language sample
default / english em, strong, b, mark, small, code, var, samp, kbd, q, cite,
ancher, strike, ins, del
japanese 強調, 重要性, 注目, マーク, 附随した情報, コード, 変数, サンプル出力, キィボード入力, 引用, 作品名,
アンカー, 取り消し, 追記, 削除

.asis *:not(a, s, ins, del)

language sample
default / english em, strong, b, mark, small, code, var, samp, kbd, q, cite,
ancher, strike, ins, del
japanese 強調, 重要性, 注目, マーク, 附随した情報, コード, 変数, サンプル出力, キィボード入力, 引用, 作品名,
アンカー, 取り消し, 追記, 削除

nav.breadcrumbs

nav.prevnext

pre > parent-of-code

text/plain

x^2 = 1
---------1---------2---------3---------4---------5---------6---------7---------8---------9---------A---------B---------C---------D---------E---------F
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

html

x<sup>2</sup> = 1

CSS

:root {
  --small-font-magnification: 0.71;
}

sub,
sup {
  font-size: calc(var(--small-font-magnification) * 1em);
}

C#

Console.WriteLine("あなたの名前は?");
string? name = Console.ReadLine();

if (!String.IsNullOrEmpty(name))
{
    Console.WriteLine($"こんにちは、{name}さん!");
}
else
{
    Console.WriteLine("こんにちは!");
}

MathML

<math>
  <msup>
    <mi>x</mi>
    <mn>2</mn>
  </msup>
  <mo>=</mo>
  <mn>1</mn>
</math>

PowerShell

[String] $excelFilePath = "./example.xlsx";
[MarshalByRefObject] $book = $excel.Workbooks.Open($excelFilePath);

JSON

{
  "link": [
    {
      "rel": "stylesheet",
      "type": "text/css",
      "title": "Robert.KIMATA.Info Style",
      "href": "./style/robert.kimata.info.css"
    }
  ]
}

htaccess / Apatch

# html: text/html
AddType "text/html; charset=utf-8" html

# ErrorDocument
ErrorDocument 404 /error/404.html
ErrorDocument 403 /error/403.html
ErrorDocument 500 /error/500.html

Bash

$ mkdir .ssh
$ chmod 700 .ssh
$ cd .ssh
$ touch authorized_keys
$ chmod 600 authorized_keys
# 今作成した authorized_keys に公開鍵の内容のテキストデータを入れて保存
-bash-4.2$ exit

Saturday and public holiday

Sunday

Not a public holiday and Saturday

Monday and public holiday