htmlref.txt 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # Dealing with files
  2. https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web
  3. /Dealing_with_files
  4. # Semantic HTML Tags
  5. <abbr> Abbreviation
  6. <acronym> Acronym
  7. <blockquote> Long quotation
  8. <dfn> Definition
  9. <address> Address for author(s) of the document
  10. <cite> Citation
  11. <code> Code reference
  12. <tt> Teletype text
  13. <div> Logical division
  14. <span> Generic inline style container
  15. <del> Deleted text
  16. <ins> Inserted text
  17. <em> Emphasis
  18. <strong> Strong emphasis
  19. <h1> First-level headline
  20. <h2> Second-level headline
  21. <h3> Third-level headline
  22. <h4> Fourth-level headline
  23. <h5> Fifth-level headline
  24. <h6> Sixth-level headline
  25. <hr> Thematic break
  26. <kbd> Text to be entered by the user
  27. <pre> Pre-formatted text
  28. <q> Short inline quotation
  29. <samp> Sample output
  30. <sub> Subscript
  31. <sup> Superscript
  32. <var> Variable or user defined text
  33. <b> </b> bold
  34. <i> </i> italic
  35. <u> </u> underline
  36. <font> </font> font
  37. # convert LaTeX to HTML
  38. htlatex document.tex
  39. lwarp - converts LaTeX to HTML [https://ctan.org/pkg/lwarp]
  40. # automatic dimensions
  41. <img src="pendulum.svg" style="width: 650pt; height: auto;" />
  42. # to maximize the image
  43. remove "width and height" in *.svg file
  44. # spell check
  45. ispell -H file.html
  46. # correct and tidy up the markup of HTML, XHTML, and XML files
  47. tidy file.html
  48. # fonts
  49. Arial is the most widely used sans-serif font on the web. It was created for
  50. printers who wanted to use the popular Helvetica font without the licensing
  51. fees. Therefore, they're virtually identical.
  52. Arial and members of the Arial font family are considered the safest web fonts
  53. because they're available on all major operating systems.
  54. Reference:
  55. CSE 154 Unofficial Style Guide - https://courses.cs.washington.edu/courses/cse154/17au/styleguide/index.html
  56. Formatting & Indenting HTML - https://granneman.com/webdev/coding/formatting-and-indenting-your-html
  57. Programmatically producing HTML from the command-line - http://www.compciv.org/topics/web/heredocs_and_html/
  58. Document command-line syntax - https://developers.google.com/style/code-syntax
  59. Indenting with HTML - http://www.blooberry.com/indexdot/html/topics/indent.htm
  60. HTML formatting - https://developers.google.com/style/html-formatting
  61. Prettier CLI - https://prettier.io/docs/en/cli.html
  62. Cleanup your HTML - https://vim.fandom.com/wiki/Cleanup_your_HTML
  63. Use Noto fonts - https://fonts.google.com/noto/use#how-are-noto-fonts-organizedo
  64. Google Fonts - https://fonts.google.com/
  65. Tidy Documentation - https://www.html-tidy.org/documentation
  66. HaWo's Linux Introduction - http://www.macs.hw.ac.uk/~hwloidl/Courses/LinuxIntro/t1.html
  67. A Practical Guide to Linux Commands, Editors, and Shell Programming -
  68. http://www.sobell.com/CMDREF1/