H5查缺补漏

和普通对象一样,可以用方括号语法来存储和获取,也可以点号直接存储和获取。还可以用setItem, getItem获取。
删除:removeItem
contenteditable: 内容可编辑
<p contenteditable=”true”>It is raining right now</p>
dir: 文字方向
<p dir=”rtl”>This is right-to-left</p>
<p dir=”ltr”>This is left-to-right</p>
tabIndex:定义tab键按下时键盘焦点转移的顺序。