After giving up developing the Wechat mini-program, I decided to learn vue.js as my next mission. The learning method is basically watch the tutorial videos online. And I am going to write what I learn from the video and what do I think about them here.
6/15/2022
I will use VScode as my code editor, and here are some shortcuts I learned for coding HTML on VScode:
!
+tab --> pop up the skeleton of html
html:5
+ tab --> same as above
<!DOCTYPE>
makes a restriction about what tags we can use in this file
Inside the <head> tag, there are some significant tags that I should have an awareness of.
<base>
: all the default URLs or default targets on this page.
<title>
: put the name of this page inside.
<style>
: define style information for a single HTML page.
<link>
: defines the relationship between the current document and an external resource. most often used to link to external style sheets.
<meta>
: used to specify the character set, page description, keywords, author of the document, and viewport settings.
<script>
: used to define client-side JavaScripts.
6/16/2022
attributes of some tags
There are three types of attributes for tags to use:
- attributes (normal)
- global attributes: some global settings of this page
- event attributes: trigger actions in a browser
Comments