摘要: 使用<img>标签定义 HTML 页面中的图像。<img>标签有两个必需的属性:src和alt。 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>编程狮</title> </head> <body> <h2>挪威山旅行</h2> 阅读全文
posted @ 2025-11-16 09:40 昵称就是最好的昵称 阅读(3) 评论(0) 推荐(0)
摘要: HTML 符号实体 在上一章中已经讲解了 HTML 实体。 普通键盘上不存在众多数学、技术和货币符号。 如需将此类符号添加到 HTML 页面,你可以使用 HTML 实体名称(HTML entity name)。 如果不存在实体名称,则可使用实体编号,十进制或十六进制的引用。 实例 <p>我将显示 & 阅读全文
posted @ 2025-11-16 09:39 昵称就是最好的昵称 阅读(3) 评论(0) 推荐(0)
摘要: HTML id 属性用于 为HTML 元素指定唯一的 id。 一个 HTML文档中不能存在多个有相同 id 的元素。 使用 id 属性 id 属性指定 HTML 元素的唯一 ID。 id 属性的值在 HTML 文档中必须是唯一的。 id 属性用于指向样式表中的特定样式声明。JavaScript 也可 阅读全文
posted @ 2025-11-16 09:38 昵称就是最好的昵称 阅读(3) 评论(0) 推荐(0)
摘要: HTML样式- CSS CSS(Cascading Style Sheet)可译为“层级样式表”或“层叠样式表”,它决定如何显示HTML元素,用于控制网页界面的外观。通过使用CSS实际页面的内容与表格形式分离,极大提高了工作效率。样式存储在样式表中,通常释放于<head>部分或存储在外部CSS文件中 阅读全文
posted @ 2025-11-16 09:37 昵称就是最好的昵称 阅读(3) 评论(0) 推荐(0)
摘要: #include <iostream> #include <windows.h> using namespace std; /*声明变量 */ HWND hand=NULL; //游戏窗口 DWORD pid=0;//游戏进程ID HANDLE hProcess=NULL;//进程对象 DWORD 阅读全文
posted @ 2025-09-06 11:12 昵称就是最好的昵称 阅读(10) 评论(0) 推荐(0)
摘要: #include <graphics.h> // 引用图形库头文件 #include <conio.h> void hei(int x,int y){ setfillcolor(BLACK); fillcircle(x,y,10); } void bai(int x,int y){ setfillc 阅读全文
posted @ 2025-07-05 15:57 昵称就是最好的昵称 阅读(9) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ string s="qwerc++iopc++qwertyuiop",str=""; string g;cin>>g; int b=0,k=0; while((b=s.find(g, k)) ! 阅读全文
posted @ 2025-06-08 09:37 昵称就是最好的昵称 阅读(5) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; void _a(int n){ int a=0,b=1; int c; if(n<=2){ cout<<1; } for (int i =0;i<n;i++) { c=a+b; a=b; b=c; cout<<c<<" 阅读全文
posted @ 2025-04-25 19:14 昵称就是最好的昵称 阅读(2) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int fc(int s){ if(s<=2){ return 1; }else{ return fc(s-1)+fc(s-2); } } int main(){ int n; cin>>n; cout<<f 阅读全文
posted @ 2025-03-23 09:30 昵称就是最好的昵称 阅读(4) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int fc(int s){ if(s==1){ return 1; }else{ return s*fc(s-1); } } int main(){ int n; cin>>n; cout<<fc(n); 阅读全文
posted @ 2025-03-23 09:28 昵称就是最好的昵称 阅读(4) 评论(0) 推荐(0)