352 lines
5.6 KiB
Markdown
352 lines
5.6 KiB
Markdown
# HTML CSS JS
|
|
|
|
`html`
|
|
`HyperText Markup Language`
|
|
`css`
|
|
`Cascading Style Sheets`
|
|
`js`
|
|
|
|
## Basic reset
|
|
|
|
```css
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
```
|
|
## !
|
|
|
|
```html
|
|
|
|
```
|
|
|
|
## div
|
|
```html
|
|
<header></header>
|
|
<nav></nav>
|
|
<aside></aside>
|
|
<main></main>
|
|
```
|
|
|
|
|
|
<iframe alt="" src="" frameborder="0"></iframe>
|
|
## Sources
|
|
|
|
### Link
|
|
|
|
```html
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon">
|
|
|
|
<link type="text/css" rel="stylesheet" href="/main.css" />
|
|
|
|
<script src="/main.js"></script>
|
|
|
|
|
|
```
|
|
|
|
### Video
|
|
```html
|
|
<video alt=>
|
|
<source src="evento.mp4" type="video/mp4">
|
|
<source src="evento.mp4" type="video/webm">
|
|
</video>
|
|
```
|
|
|
|
### Audio
|
|
```html
|
|
<audio src=""></audio>
|
|
```
|
|
|
|
|
|
|
|
|
|
```html
|
|
<a href="" target="_blank" rel="noopener noreferrer"></a>
|
|
|
|
<a href="#" target="_blank" rel="noopener noreferrer"></a>
|
|
|
|
|
|
|
|
<img src="" alt="">
|
|
<hr>
|
|
<br>
|
|
|
|
<figure>
|
|
<img src="" alt="">
|
|
<figcaption></figcaption>
|
|
</figure>
|
|
|
|
|
|
<a href="" target="_blank" rel="noopener noreferrer"></a>
|
|
<dl>
|
|
<dt>HTML</dt>
|
|
<dd>Lenguaje de marcado para crear páginas web</dd>
|
|
|
|
<dt>CSS</dt>
|
|
<dd>Lenguaje para dar estilo a las páginas web</dd>
|
|
</dl>
|
|
|
|
<h1>Título Principal</h1>
|
|
<h2>Subtítulo</h2>
|
|
<h3>Sección</h3>
|
|
<h4>Subsección</h4>
|
|
<h5>Apartado</h5>
|
|
<h6>Subapartado</h6>
|
|
|
|
Formato de Texto
|
|
<strong>Texto importante</strong>
|
|
<em>Texto enfatizado</em>
|
|
<mark>Texto resaltado</mark>
|
|
<small>Texto pequeño</small>
|
|
<del>Texto eliminado</del>
|
|
<ins>Texto insertado</ins>
|
|
<sub>subíndice</sub>
|
|
<sup>superíndice</sup>
|
|
|
|
Enlaces y Navegación
|
|
<!-- Enlace externo -->
|
|
<a href="https://www.google.com">Ir a Google</a>
|
|
|
|
<!-- Enlace interno -->
|
|
<a href="contacto.html">Contacto</a>
|
|
|
|
<!-- Enlace a sección de la misma página -->
|
|
<a href="#seccion-importante">Ir a sección</a>
|
|
|
|
<!-- Enlace de correo -->
|
|
<a href="mailto:correo@ejemplo.com">Enviar correo</a>
|
|
|
|
<!-- Enlace de teléfono -->
|
|
<a href="tel:+5071234567">Llamar</a>
|
|
|
|
<i class="material-icons">cloud</i>
|
|
|
|
|
|
|
|
<a href="Your facebook link"><i class="fab fa-facebook"></i></a>
|
|
|
|
<a href="FB Link" class="fab fa-facebook"></a>
|
|
|
|
<span class="material-icons">home</span>
|
|
|
|
|
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/link
|
|
|
|
|
|
<a href="https://example.com"><i class="fas fa-home"></i>Home</a>
|
|
|
|
|
|
|
|
<a href="https://example.com"><i class="fas fa-home"></i>Home</a>
|
|
|
|
|
|
https://stackoverflow.com/questions/68838248/how-do-you-add-a-link-inside-an-svg-image-file
|
|
|
|
https://www.w3schools.com/graphics/svg_hyperlinks.asp
|
|
```
|
|
|
|
(Noopener noreferrer)[https://stackoverflow.com/questions/79600136/when-adding-target-blank-to-a-html-link-is-it-still-necessary-to-add-rel-no]
|
|
|
|
|
|
|
|
|
|
<form action="/submit_form" method="post">
|
|
<label for="name">Name:</label><br>
|
|
<input type="text" id="name" name="name"><br>
|
|
<label for="email">Email:</label><br>
|
|
<input type="email" id="email" name="email"><br><br>
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
|
|
|
|
|
|
<form action="">
|
|
<fieldset>
|
|
<legend>Ubicación</legend>
|
|
<label for="facultades">Facultades</label>
|
|
<input list="facultades" name="facultad">
|
|
<datalist id="facultades">
|
|
<option value="Ingeniería de Sistemas">
|
|
<option value="Ingeniería Civil">
|
|
<option value="Ingeniería Industrial">
|
|
</datalist>
|
|
<button type="submit">Buscar</button>
|
|
</fieldset>
|
|
</form>
|
|
|
|
<input type="text" id="username" name="username" required>
|
|
|
|
|
|
|
|
<input type="text" id="username" name="username" required>
|
|
|
|
|
|
|
|
<a href="#" target="_blank" rel="noopener noreferrer"></a>
|
|
|
|
|
|
|
|
|
|
|
|
# Web
|
|
|
|
## Lang
|
|
|
|
- html
|
|
- css
|
|
- js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Link:
|
|
http://fngggljygpsc653xd22hyyvubyxeubymaomjqjwnd5tjo64mwo73fsad.onion
|
|
http://fngggljygpsc653xd22hyyvubyxeubymaomjqjwnd5tjo64mwo73fsad.onion/public/
|
|
|
|
|
|
---------------------------------------------
|
|
|
|
nginx
|
|
https://nginx.org/en/
|
|
|
|
command:
|
|
taskkill /IM nginx.exe /F
|
|
|
|
|
|
Tor Browser
|
|
https://www.torproject.org/
|
|
https://www.torproject.org/download/
|
|
|
|
command:
|
|
taskkill /IM tor.exe /F
|
|
|
|
---------------------------------------------
|
|
|
|
|
|
Config:
|
|
|
|
Tor
|
|
1:
|
|
C:\root\src\zarga\TorBrowser\Browser\TorBrowser\Data\Tor\torrc
|
|
|
|
torrc.txt =
|
|
HiddenServiceDir C:\root\src\zarga\TorBrowser\hidden_service
|
|
HiddenServicePort 80 127.0.0.1:8080
|
|
|
|
|
|
---------------------------------------------
|
|
|
|
nginx
|
|
2:
|
|
nginx/conf =
|
|
|
|
|
|
|
|
|
|
|
|
Check url:
|
|
|
|
hidden_Service = Hotname = fngggljygpsc653xd22hyyvubyxeubymaomjqjwnd5tjo64mwo73fsad.onion
|
|
|
|
|
|
|
|
|
|
Start:
|
|
|
|
win + r, sysdm.cpl
|
|
|
|
path =
|
|
C:\root\src\zarga\nginx
|
|
|
|
Descartado [
|
|
NGINX_CONF_PATH=C:\root\src\zarga\nginx\conf\nginx.conf
|
|
Set Variable Name: NGINX_CONF_PATH
|
|
Set Variable Value: C:\root\src\zarga\nginx\conf\nginx.conf
|
|
|
|
C:/root/src/zarga/nginx/conf/nginx.conf
|
|
|
|
C:\root\src\zarga\TorBrowser\Browser
|
|
]
|
|
|
|
firefox.exe
|
|
|
|
cd C:\root\src\zarga\nginx
|
|
nginx.exe
|
|
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
path:
|
|
C:\root\src\zarga\php-8.4.3-nts-Win32-vs17-x64
|
|
|
|
Build web server:
|
|
|
|
php:
|
|
https://windows.php.net/download
|
|
VS17 x64 Non Thread Safe (2025-Jan-15 11:07:36)
|
|
|
|
|
|
php/php.ini-production
|
|
|
|
|
|
cd C:\root\src\zarga\php-8.4.3-nts-Win32-vs17-x64
|
|
|
|
php-cgi.exe -b 127.0.0.1:9000
|
|
|
|
nginx -s reload
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Execute compile:
|
|
|
|
php-cgi.exe -b 127.0.0.1:9000
|
|
|
|
cd C:\root\src\zarga\nginx>
|
|
nginx.exe
|
|
|
|
firefox.exe
|
|
|
|
|
|
Stop run:
|
|
|
|
taskkill /IM nginx.exe /F
|
|
taskkill /F /IM tor.exe
|
|
|
|
|
|
|
|
---------------------------------------------
|
|
|
|
https://www.apachefriends.org/es/index.html
|
|
https://www.apachefriends.org/es/download_success.html
|
|
https://www.apachefriends.org/es/download.html
|
|
|
|
|
|
C:\xampp\htdocs\
|
|
|
|
taskkill /IM xampp-control.exe /F
|
|
|
|
DocumentRoot "C:/xampp/htdocs" to
|
|
C:/root/src/php/htdocss
|
|
|
|
DocumentRoot "C:/root/src/php/htdocs"
|
|
<Directory "C:/root/src/php/htdocs">
|
|
|
|
|
|
Listen 80
|
|
ServerName localhost:80
|
|
|
|
Listen 8080
|
|
ServerName localhost:8080
|
|
|
|
|
|
http://localhost:80/
|