### Basics of HTML:
- HTML stands for Hyper Text Markup Language
- HTML is the standard markup language for creating Web pages
- HTML describes the structure of a Web page
- HTML consists of a series of elements
- HTML elements tell the browser how to display the content
- HTML elements are represented by tags
- HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
- Browsers do not display the HTML tags, but use them to render the content of the page
### Tags in HTML:
- HTML tags are keywords (tag names) surrounded by angle brackets like <html></html>
- HTML tags normally come in pairs like <p> and </p>
- The first tag in a pair is the start tag, the second tag is the end tag
- The end tag is written like the start tag, but with a forward slash inserted before the tag name
- Start and end tags are also called opening tags and closing tags
### The root element:
- The <html> element is the root element of an HTML page
- The <html> element is the container for all other HTML elements (except for the <!DOCTYPE> declaration)
### List of tags in HTML:
- <html> - the root element
- <head> - the element that contains meta-information about the document
- <title> - the element that specifies a title for the document
- <body> - the element that contains the visible page content
- <h1> to <h6> - the elements that define HTML headings
- <p> - the element that defines a paragraph
- <br> - the element that defines a line break
- <hr> - the element that defines a thematic change in the content
- <!--...--> - the element that defines a comment
- <a> - the element that defines a hyperlink
- <img> - the element that defines an image
- <ul> - the element that defines an unordered list
- <ol> - the element that defines an ordered list
- <li> - the element that defines a list item
- <table> - the element that defines a table
- <tr> - the element that defines a table row
- <th> - the element that defines a table header
- <td> - the element that defines a table data/cell
- <form> - the element that defines an HTML form
- <input> - the element that defines an input control
- <textarea> - the element that defines a multiline input control (text area)
- <button> - the element that defines a clickable button
- <label> - the element that defines a label for an <input> element
- <select> - the element that defines a drop-down list
- <option> - the element that defines an option in a drop-down list
- <iframe> - the element that defines an inline frame
- <audio> - the element that defines sound content
- <video> - the element that defines video content
- <canvas> - the element that defines graphics
- <svg> - the element that defines an SVG graphic
- <math> - the element that defines mathematical equations
### Basics of CSS
- CSS stands for Cascading Style Sheets
- CSS describes how HTML elements are to be displayed on screen, paper, or in other media
- CSS saves a lot of work. It can control the layout of multiple web pages all at once
- External stylesheets are stored in CSS files
- CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes
### Syntax:
- A CSS rule-set consists of a selector and a declaration block
- The selector points to the HTML element you want to style
- The declaration block contains one or more declarations separated by semicolons
- Each declaration includes a CSS property name and a value, separated by a colon
- A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly braces
-
Notifications
You must be signed in to change notification settings - Fork 0
All tasks i have done from the SoftUni course - Java Advanced - January 2025
detelinka/5-HTML-and-CSS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
All tasks i have done from the SoftUni course - Java Advanced - January 2025
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published