Search
 
SCRIPT & CODE EXAMPLE
 

HTML

all semantic html tags

<article> 	Defines independent, self-contained content
<aside> 	Defines content aside from the page content
<details> 	Defines additional details that the user can view or hide
<figcaption> 	Defines a caption for a <figure> element
<figure> 	Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.
<footer> 	Defines a footer for a document or section
<header> 	Specifies a header for a document or section
<main> 	Specifies the main content of a document
<mark> 	Defines marked/highlighted text
<nav> 	Defines navigation links
<section> 	Defines a section in a document
<summary> 	Defines a visible heading for a <details> element
<time> 	Defines a date/time
Comment

semantic html

    # Is it a meaningful area of the page?
    	Use an HTML5 block element like <header> or <footer>.
        
    # Does it label the start of a new section?
    	Use a heading (with the right level) like <h2> or <h3>
    
    # Does it navigate to a new page?
    	Use an <a href="/page">
        
    # Does it trigger JS behaviour?
    	Use a <button>
        
    # Does it allow user input?
    	Use a <form> containing <input>s (with <label>s!)
        
    # Is it just for applying some layout/styles?
    	Use something like <div class="grid"> or <span class="big-text">
Comment

html semantics

<span style="font-size: 32px; margin: 21px 0;">Is this a top level heading?</span>
Comment

PREVIOUS NEXT
Code Example
Html :: how to add different components in the same page in angular 
Html :: mobile app 
Html :: single div using two tags h5 tag &h6tag 
Html :: partial url example 
Html :: angular html conditional text 
Html :: html use 
Html :: falling star animation code 
Html :: html entity 
Html :: html inframe map 
Html :: add logo in html 
Html :: align more checkbox in a table cell 
Html :: wrapper vs container 
Html :: httponly 
Html :: how add string in all htmls with linux 
Html :: dorpdown format in template 
Html :: hover message html 
Html :: Form INPUT Determine multiple file extensions 
Html :: gambar eksternal html 
Html :: how to change db cred in wordpress 
Html :: serbia meaning 
Html :: localhost server html how to set up 
Html :: fab view 
Html :: export figma design to html 
Html :: bootstrap loader in os 
Html :: structure radio in html 
Html :: HTML <abbr for Abbreviations 
Html :: ternary inside html razor 
Html :: default bosy email html css 
Html :: chrome youtube tab goes blank 
Html :: html div syntax 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =