i
What Do You Mean By HTML and CSS?
Common HTML Terms
Creating HTML Document Structure
Common CSS Terms
Selectors
Referencing CSS
CSS Resets
Getting to Know HTML And Semantics Overview
Identifying Divisions and Spans
Using Text Based Element
Building Structure
Creating Hyperlinks
Getting to Know CSS :The Cascade
Calculating Specificity
Combining Selectors
Layering Styles With Multiple Classes
Common CSS Properties
CSS Aural Media/Style Sheets
CSS Pagination
CSS Overflow
CSS White Space
CSS Word Wrap
CSS Outline
CSS Visibility
CSS Counters
CSS Animation
CSS Transition
CSS Tooltips
CSS Tooltip Animation
CSS Arrow
CSS Flexbox
CSS Media Queries
CSS 2D Transforms
CSS 3D Transforms
How are Elements Displayed?
Display Property Controls And Box Model?
Working With Box Model
Width and Height
Margins and Padding
Borders, Individual Border Sides, Border Radius, Box Sizing, Content Box and Padding Box
Developer Tools
Removing Spaces between Inline-Block Elements
Positioning With Floats
Floats in Practice
Positioning With Inline-Block
Clearing and Containing Floats
Creating Reusable Layouts
Uniquely Positioning Layouts
Adding Colour To Text
Changing Font Properties
Font Family
Font Size, Font Style, Font Variant, Font Weight And Line Height
Shorthand Font Properties
Applying Text Properties
Text Properties All Together
Using Web-Safe Fonts
Including Citation And Quotes
Adding A Background Colour
Adding a Background Image and Background Repeat
Background Position and Shorthand Background Image Values
Designing Gradient Backgrounds
Changing the Direction of a Gradient Background
Using Multiple Background Images
Exploring New Background Properties
Unordered Lists
Ordered Lists
Description Lists
Nested Lists
List Item Styling
List Style Type Values
List Style Position Property
Adding Media And Adding Images
Sizing Images
Positioning Images, Inline Positioning Images, Blocking Positioning Images , Positioning Images Flush Left or Right
Adding Audio
Adding Videos
Adding Inline Frames
Semantically Identifying Figures And Captions
Building Forms And Initializing a Form
Text Fields And Text Areas
Multiple Choice Inputs And Menus
Form Buttons
Other Inputs
Organizing Form Element
Form And Input Attributes
Login Form Example
Organizing Data with Tables
Creating A Table
Table Header
Table Structure
Table Head, Body and Foot
Combining Multiple Cells
Table Borders
Table Striping
Aligning Text
Completely Styled Table
HTML Coding Practices
Use the Proper Document Structure
Keeping the Syntax Organized
Use Practical ID and Class Values
CSS Coding Practices
Write CSS Using Multiple Lines and Spaces
Use Proper Class Names
Build Proficient Selectors
Use Desired Classes When Needed
Use Shorthand Hexadecimal Color Values
Drop Units Zero Values
HTML abbr tag
HTML acronym tag (Not for HTML 5)
HTML area tag
HTML basefont tag
HTML blockquote tag
HTML datalist tag
HTML Description List
HTML ins tag
Marquee HTML Tag
HTML object tag
HTML picture tag
HTML SVG
The and the elements behaves as container mainly for styling purpose in HTML. As conventional containers, they don't accompany any overall importance or semantic worth. Both elements are highly effective when creating a website.
Before continuing our study further, let’s throw some light on Block and Inline elements.
Block Vs Inline Elements
Most of the element that you are going to come across in HTML is block and inline elements.
Block-level elements are elements that start from a new line, stacking one over the other, furthermore, fits itself in any available width. Block-level elements might get nested inside each other and may wrap the inline elements. Block-level elements serves large contents.
Inline Level elements never start on a new line. They fall into the ordinary progression of a report, arranging itself one after the other, and keep up with the width of the web content. Inline elements might be nested inside each other but can't wrap up a block-level element. Inline level elements serves small contents.
The element is said to be a block-level element that is used mainly to identify large grouped content uniquely and helps in setting up a web page's design and layout. On the other hand, a is an inline-level element that is used to identify small grouped text situated within a block-level element.
You will see the use of and with id or class attributes mostly for styling. Selecting the name or value of the id or class attribute needs to be taken care of. Choose their value which alludes to the content of the element.
Comment within HTML and CSS
In the above code, you may have noticed these two notations i.e.
. Both of them have exclamation with them. Don’t worry about that. These are not elements but are comments in HTML.
HTML and CSS give us the feature to write comments inside our code. The web page will not show any content that is enclosed within a web page. Comments help the user in managing the code in a much better way, keep all the files organized and enables us to set reminders. Comments are very much helpful when multiple people are working on the same file.
The comments in HTML starts with . The comments in CSS starts with /* and finished with */.
Don't miss out!