Last active
September 13, 2020 20:10
-
-
Save imralpharvin/aa780a8a73e8869d2f7ad0d6454d9f2c to your computer and use it in GitHub Desktop.
Revisions
-
imralpharvin revised this gist
Sep 13, 2020 . 1 changed file with 39 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,23 +15,39 @@ ### HTML - Series of elements - Represented by tags ``` <html> ``` - element is the root element of an HTML page ### head ``` <head> ``` - element contains meta information about the document ### title ``` <title> ``` - element specifies a title for the document ### body ``` <body> ``` - element contains the visible page content ### heading 1 ``` <h1> ``` - element defines a large heading ### paragraph ``` <p> ``` - element defines a paragraph ### Headings @@ -41,10 +57,9 @@ ``` <a href="https://www.w3schools.com">This is a link</a> ``` ### Images ### Buttons ### Lists ### Line break ``` <br> @@ -53,13 +68,22 @@ Lists ``` <!-- This is a comment → ``` ### Div block ``` <div> ``` - block -level element ### span inline ``` <span> ``` Inline element ### metadata ``` <meta> ``` Contains metadata ### Image -
imralpharvin revised this gist
Sep 13, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ - Represented by tags ### <html> - element is the root element of an HTML page ### <head> - element contains meta information about the document -
imralpharvin revised this gist
Sep 13, 2020 . No changes.There are no files selected for viewing
-
imralpharvin created this gist
Sep 13, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,73 @@ # HTML ### Terminology to know - Elements - Tags - Attributes ### Declaration ``` <!DOCTYPE html> ``` - instruction to the web browser about what version of HTML the page is written in. - In this case, it is HTML5 ### HTML - Series of elements - Represented by tags ### <html> - element is the root element of an HTML page ### <head> - element contains meta information about the document ### <title> - element specifies a title for the document ### <body> - element contains the visible page content ### <h1> - element defines a large heading ### <p> - element defines a paragraph ### Headings - H1 to h6 ### HTML links ``` <a href="https://www.w3schools.com">This is a link</a> ``` Images Buttons Lists ### Line break ``` <br> ``` ### Comment ``` <!-- This is a comment → ``` ### <div> block -level element ### <span> Inline element ### <meta> Contains metadata ### Image ``` <img src="img_chania.jpg" alt="Flowers in Chania"> ``` ### Scale to device ``` <meta name="viewport" content="width=device-width, initial-scale=1"> ```