HTML collection of elements

html added to this blog and other stuff :

 When pasting text with < and > blogger replaces them with &lt; and &gt; so it works pretty well with pasted code.
 The built in editor doesn't allow to add boxes and other html elements, but it does allow to edit html code.

 The easy way to add a style to is to use it inside a div element:


  •   to create a box around a text, useful for quick copy paste of terminal commands


<div style="background-color: #2c2c2c; border-color: #eff0f1; border-radius: 4px; border-style: solid; border-width: 2px; color: #1abc9c; font-size: 18px; padding: 8px;">
terminal command
</div>

example:

terminal command


  • to display some command output text


<div style="background-color: #f1f5f9; border-color: #005cb9; border-radius: 6px; border-style: solid; border-width: 2px; color: #454545; padding: 10px;">
example of a command output
</div>

example:

Bit rate: 1 727 kb/s<br />
Width: 1 920 pixels<br />
Height: 1 012 pixels<br />
Format profile: Main 10@L4@Main<br />
Codec ID: V_MPEGH/ISO/HEVC<br />
Writing library: x265 2.6




Comments