Core Code
Modern Dev Handbook
☰
HTML Contents
✕
HTML Guide
HTML Home
HTML Introduction
HTML Editors
HTML Basic
HTML Elements
HTML Attributes
HTML Headings
HTML Paragraphs
HTML Styles
HTML Formatting
HTML Quotations
HTML Comments
HTML Colors
HTML CSS
HTML Links
HTML Images
HTML Favicon
HTML Page Title
HTML Tables
HTML Lists
HTML Block & Inline
HTML Div
HTML Classes
HTML Id
HTML Buttons
HTML Iframes
HTML JavaScript
HTML File Paths
HTML Head
HTML Layout
HTML Responsive
HTML Computercode
HTML Semantics
HTML Style Guide
HTML Entities
HTML Symbols
HTML Emojis
HTML Charsets
HTML URL Encode
HTML vs. XHTML
Forms
HTML Forms
HTML Form Attributes
HTML Form Elements
HTML Input Types
HTML Input Attributes
Input Form Attributes
Graphics
HTML Canvas
HTML SVG
Media
HTML Media
HTML Video
HTML Audio
HTML Plug-ins
HTML YouTube
Web APIs
HTML Web APIs
HTML Geolocation
HTML Drag and Drop
HTML Web Storage
HTML Web Workers
HTML SSE
HTML
→
HTML Block & Inline
Span Styling Example
Example styling inline text using span.
Preview
Code
<p> Normal text and <span style="color:blue;font-weight:bold;"> styled inline text </span>. </p>
More HTML Block & Inline Examples (5)
Block Elements Example
Inline Elements Example
Block vs Inline Elements
Div Block Container
Inline Link Example
← Block vs Inline Elements
Div Block Container →