html——VSCode的使用

快捷键

  • ·快速生成标签:标签名+tab

    **·****保存文件:**Ctrl+S

    **·**设置自动保存【文件】→【自动保存】

    **·****快速查看网页效果:**右击→Open in Default Browser

    **·****快捷键:**alt+b

    **·****注意:**必须安装了open in browser插件

    **· 代码注释:**Ctrl+/

    ·为代码添加具有解释性、描述性信息,主要用来帮助程序员理解代码

    **·**注意:浏览器在运行代码时会忽略所有注释

**·**快速生成结构标签:

方法一:****!+tab

**方法二:**html:5

·****!****必须是英文的,中文!无效

**·**必须保证当前文件后缀名是.html,否则无效

相关推荐
曲幽3 小时前
FastAPI分布式系统实战:拆解分布式系统中常见问题及解决方案
redis·python·fastapi·web·httpx·lock·asyncio
willow4 小时前
html5基础整理
html
曲幽1 天前
FastAPI压力测试实战:Locust模拟真实用户并发及优化建议
python·fastapi·web·locust·asyncio·test·uvicorn·workers
曲幽2 天前
FastAPI实战:打造本地文生图接口,ollama+diffusers让AI绘画更听话
python·fastapi·web·cors·diffusers·lcm·ollama·dreamshaper8·txt2img
anOnion3 天前
构建无障碍组件之Radio group pattern
前端·html·交互设计
前端Hardy3 天前
HTML&CSS&JS:丝滑无卡顿的明暗主题切换
javascript·css·html
曲幽3 天前
我用FastAPI接ollama大模型,差点被asyncio整崩溃(附对话窗口实战)
python·fastapi·web·async·httpx·asyncio·ollama
前端Hardy4 天前
HTML&CSS&JS:基于定位的实时天气卡片
javascript·css·html
曲幽4 天前
FastAPI + Ollama 实战:搭一个能查天气的AI助手
python·ai·lora·torch·fastapi·web·model·ollama·weatherapi
前端Hardy4 天前
HTML&CSS:纯CSS实现随机转盘抽奖机——无JS,全靠现代CSS黑科技!
css·html