Skip to content

Instantly share code, notes, and snippets.

View hannahlere's full-sized avatar

Ana Cláudia Oliveira hannahlere

View GitHub Profile
@hannahlere
hannahlere / Estruturas_HTML5.md
Created June 10, 2021 01:40 — forked from profburnes/Estruturas_HTML5.md
Estrutura e Tags Básicas do HTML 5

Estruturas e Tags Básicas do HTML5

O HTML5 é a nova versão padrão do HTML com novas Tags e APIs capazes de inserir facilmente um arquivo de audio ou vídeo em um site. Basicamente o HTML seria o esqueleto do seu site, que deverá ser formatado (ou vestido) utilizando a linguagem CSS (Cascading Style Sheet).

Estrutura Básica

A estrutura básica do HTML5 é parecida as estrutra do XHTML e do HTML 4, contendo elementos HEAD e BODY.

<!DOCTYPE html>
@hannahlere
hannahlere / get_address.php
Created April 13, 2023 16:54 — forked from GustavoMartinsSantos/get_address.php
Como pegar endereço completo através do CEP usando PHP
<?php
function get_endereco($cep){
// formatar o cep removendo caracteres nao numericos
$cep = preg_replace("/[^0-9]/", "", $cep);
$url = "http://viacep.com.br/ws/$cep/xml/";
$xml = simplexml_load_file($url);