mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:52:43 +00:00 
			
		
		
		
	 b94c7665a9
			
		
	
	
		b94c7665a9
		
	
	
	
	
		
			
			You can now query Document::title() to get a String containing whatever is inside the document's <title> tag. In support of this, this patch adds the <html>, <head> and <title> elements.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			207 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			207 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <LibHTML/DOM/HTMLTitleElement.h>
 | |
| 
 | |
| HTMLTitleElement::HTMLTitleElement(Document& document, const String& tag_name)
 | |
|     : HTMLElement(document, tag_name)
 | |
| {
 | |
| }
 | |
| 
 | |
| HTMLTitleElement::~HTMLTitleElement()
 | |
| {
 | |
| }
 |